11 lines
272 B
Python
11 lines
272 B
Python
|
import requests
|
||
|
|
||
|
for year in range(1957, 2025):
|
||
|
URL = "https://www.sportsoddshistory.com/nfl-game-season/?y="+str(year)
|
||
|
page = requests.get(URL)
|
||
|
|
||
|
f = open("data/"+str(year)+".html", "w", encoding="utf-8")
|
||
|
f.write(page.text)
|
||
|
f.close
|
||
|
|
||
|
print("Downloaded " + str(year))
|