improved static website

This commit is contained in:
Trilarion
2020-09-21 10:23:12 +02:00
parent c18b225780
commit 9d65ee912b
16 changed files with 381 additions and 155 deletions

View File

@ -55,7 +55,7 @@ def download_lgw_content():
for game in games:
print(game[1])
url = base_url + game[0]
destination_file = os.path.join(destination_path, osg.canonical_entry_name(game[0][1:]) + '.html')
destination_file = os.path.join(destination_path, osg.canonical_name(game[0][1:]) + '.html')
text = requests.get(url).text
utils.write_text(destination_file, text)