Skip to content

Instantly share code, notes, and snippets.

@mcbarlowe
Created May 30, 2020 23:57
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 mcbarlowe/d5f84d11e31506b552d3c4d3862c0cd0 to your computer and use it in GitHub Desktop.
Save mcbarlowe/d5f84d11e31506b552d3c4d3862c0cd0 to your computer and use it in GitHub Desktop.
import requests
url = 'http://nsmmhl.goalline.ca/game_details.php?game_id=4683766&schedule_id=417648'
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Language': 'en-US,en;q=0.5',
'Connection': 'keep-alive',
'Referer': 'http://nsmmhl.goalline.ca/index.php'}
test = requests.get(url, headers=headers)
print(test.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment