The replay download script authentication seems to be broken. According to the blizzard API documentation the credentials should be sent using HTTP authentication fields, not as part of the params (see https://develop.battle.net/documentation/guides/using-oauth/client-credentials-flow).
Changing the code to do this makes it start to work properly for me.
I also made some minor code formatting changes to fix some PEP8 lint errors.
The replay download script authentication seems to be broken. According to the blizzard API documentation the credentials should be sent using HTTP authentication fields, not as part of the params (see https://develop.battle.net/documentation/guides/using-oauth/client-credentials-flow). Changing the code to do this makes it start to work properly for me.
I also made some minor code formatting changes to fix some PEP8 lint errors.