Skip to content

Instantly share code, notes, and snippets.

@nruigrok
Created May 28, 2018 17:51
Show Gist options
  • Save nruigrok/4f66d1a81851a771482888aa8ae7f53a to your computer and use it in GitHub Desktop.
Save nruigrok/4f66d1a81851a771482888aa8ae7f53a to your computer and use it in GitHub Desktop.
import requests
url = 'https://www.jancisrobinson.com/tastings/search?perpage=100&page=1'
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'}
response = requests.get(url, headers=headers)
print(response.content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment