wesm / pydata-book

Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Other
22.29k stars 15.2k forks source link

ch6: XML and HTML, Web scraping #89

Closed kevinblog closed 4 years ago

kevinblog commented 6 years ago

Hello,

I got a problem when I ran the code of this section on Jupyter Notebook.

It was running all the time and couldn't get the results.

I wonder if there is anything wrong with my code? How can I fix them?

image

Looking forward to your reply.

wesm commented 6 years ago

hi @FENG06 since this part was written in 2012, Yahoo! has changed their website. You might be able to get it working with a new url like https://finance.yahoo.com/quote/AAPL/options?p=AAPL

kevinblog commented 6 years ago

@wesm Thanks a lot, it does work after changing the code with new Yahoo url.