Created
July 15, 2014 16:13
-
-
Save bordy/ee73dedf8c8d407cfe94 to your computer and use it in GitHub Desktop.
Untitled.py
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
import bs4 | |
import requests | |
cath_resp = requests.get('http://www.reddit.com/r/Catholicism/top/') | |
soup = bs4.BeautifulSoup(cath_resp.text) | |
print(soup.prettify()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment