Created
January 28, 2017 19:08
-
-
Save michaelhelmick/7d2334865b38349598e076b7a02f6d3d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 requests | |
client = requests.Session() | |
client.headers.update({'User-Agent': 'My Customer User Agent'}) | |
client.get('https://google.com/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment