Skip to content

Conversation

HADB
Copy link
Contributor

@HADB HADB commented Sep 7, 2021

fix #140

There are some more url templates in resources.py like this. If needed, I'll try to fix them too.

@HADB
Copy link
Contributor Author

HADB commented Sep 7, 2021

20210904_bean.SC2Replay.zip
Uploaded CN SC2Replay for testing.

Copy link
Collaborator

@StoicLoofah StoicLoofah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! The refactor is also nice. Just one question before I merge it in

@@ -1021,8 +1017,6 @@ class GameSummary(Resource):
that the data is not necessarily in the places we expect.
"""

url_template = "https://{}-s2-depot.classic.blizzard.com/{}.s2gs"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this url_template unused, or am I not seeing the reference to it in the new code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was unused.

@StoicLoofah StoicLoofah merged commit e7f8ade into ggtracker:upstream Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

load_map=True results in URLError
2 participants