Created
July 24, 2016 09:12
-
-
Save Nishan8583/811cb70621f209431bff0b1292ef5eec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
from urllib.request import urlopen | |
m = urlopen('http://www.nytimes.com') | |
soup = BeautifulSoup(m,'html.parser') | |
print(soup.find_all('article')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment