Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
import bs4, time, requests
url = ''
res = requests.get(url)
soup = bs4.BeautifulSoup(res.text,'html.parser')
for bookName in soup.findAll('a',class_='bookTitle'):
print bookName.getText()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment