Closed Volker-Weissmann closed 3 years ago
It appears to be a replay from CN region. Which is not a problem on its own, but blizz quite recently migrated their "depot" to amazon S3, what also resulted in change of the domain names. It was fixed for US/EU/KR in https://github.com/ggtracker/sc2reader/commit/98eb2d90630fec4667bd63b22cc4559265767b98 However that fix does not account for CN - it currently points to a domain that doesn't exists, thus the error. And I think it was broken for CN even before that patch, lol.
Anyway, the correct URL for CN is http://cn-s2-depot.battlenet.com.cn/{1}.{2}
battlenet.com.cn
as gateway@Talv Seems like a solid diagnosis to me!
@Volker-Weissmann can you test that out and see if it works? If so, I would be happy to take a Pull Request fixing it!
url_template = "http://{0}-s2-depot.battlenet.com.cn/{1}.{2}"
does work.
This should be safe to close now that the PR was merged.
Hi, PR #151 didn't fix this problem. It only add suffix '.cn' to the domain, but still unavailable. 'https://CN-s2-depot.classic.blizzard.com.cn' should be 'http://CN-s2-depot.battlenet.com.cn'.
Woops, missed the difference in the url when I created the pr. Nice fix for the resources.py urls too!
This works just fine:
but this
fails with the message
I'm using Python 3.9.1. Both ipv4 and ipv6 internet is working.