Skip to content

Instantly share code, notes, and snippets.

@davidcomfort
Created December 13, 2015 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidcomfort/525ff9385667ce92b22e to your computer and use it in GitHub Desktop.
Save davidcomfort/525ff9385667ce92b22e to your computer and use it in GitHub Desktop.
import requests
import cookielib
URL = 'http://pythonscraping.com'
jar = cookielib.CookieJar()
r = requests.get(URL, cookies=jar)
r = requests.get(URL, cookies=jar)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment