Created
May 30, 2020 23:57
-
-
Save mcbarlowe/d5f84d11e31506b552d3c4d3862c0cd0 to your computer and use it in GitHub Desktop.
This file contains 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 | |
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