Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.