Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created April 21, 2020 07:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save BMU-Verlag/3742b9515a6e652505a5a09fb06c84a6 to your computer and use it in GitHub Desktop.
HEADERS = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/80.0.3987.163 Safari/537.36'
}
page = requests.get(url, headers=HEADERS)
print(page.content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment