Skip to content

Instantly share code, notes, and snippets.

@michaelhelmick
Created January 28, 2017 19:08
Show Gist options
  • Save michaelhelmick/7d2334865b38349598e076b7a02f6d3d to your computer and use it in GitHub Desktop.
Save michaelhelmick/7d2334865b38349598e076b7a02f6d3d to your computer and use it in GitHub Desktop.
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