Saturday, July 5, 2014

SOLUTION Exercise 17: Decode a Web Page

Exercise

Use the BeautifulSoup and requests Python packages to print out a list of all the article titles on the New York Times homepage.

Solutions?

I did not get any sample solutions for this Exercise. What I will do is write the sample program, and comment every line - dissect my own program for readers to see themselves. This will be forthcoming - this post is meanwhile a placeholder.

No comments:

Post a Comment