Skip to content

Instantly share code, notes, and snippets.

@kunalrustagi08
Created May 4, 2020 15:14
Show Gist options
  • Save kunalrustagi08/01362a375903c658f7123920a554ad1e to your computer and use it in GitHub Desktop.
Save kunalrustagi08/01362a375903c658f7123920a554ad1e to your computer and use it in GitHub Desktop.
url = 'http://books.toscrape.com/catalogue/page-' + str(page) + '.html'
results = requests.get(url)
soup = BeautifulSoup(results.text, 'html.parser')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment