Fabbi / autoshift

automatic SHiFT code redemption script™
GNU General Public License v3.0
64 stars 23 forks source link

"Invalid URL /rewards" #31

Closed shatteredhalo closed 2 years ago

shatteredhalo commented 4 years ago

The script seems to be throwing some kind of error while redeeming keys for BLPS I believe. Below is the output from start to script termination. Let me know if you need any further info. Thank you for your time and work on this project!

C:\autoshift-master>auto.py --game bl bl2 bl3 blps --platform steam Parsing BL keys...done. (no new Keys) You have 5 golden BL keys to redeem for STEAM Parsing BL2 keys...done. (no new Keys) You have 3 golden BL2 keys to redeem for STEAM Parsing BL3 keys...done. (no new Keys) You have 8 golden BL3 keys to redeem for STEAM Parsing BLPS keys...done. (no new Keys) You have 184 golden BLPS keys to redeem for STEAM 2020-10-16 01:15:52,716 [INFO]  Trying to redeem 5 Golden Keys (SRCBJ-5KXFF-5T6K3-33BBB-WBF6H) 2020-10-16 01:15:53,671 [INFO]  Please wait 2020-10-16 01:15:54,308 [INFO]  Please wait 2020-10-16 01:15:54,401 [INFO]  Redeemed 5 Golden Keys 2020-10-16 01:15:54,402 [INFO]  Redeeming another 195 Keys 2020-10-16 01:15:54,402 [INFO]  Trying to redeem 3 Golden Keys (ZFKJ3-TT3BB-JTBJT-T3JJT-JWX9H) 2020-10-16 01:15:55,179 [INFO]  Please wait 2020-10-16 01:15:55,753 [INFO]  Please wait 2020-10-16 01:15:56,339 [INFO]  Please wait 2020-10-16 01:15:56,960 [INFO]  Please wait 2020-10-16 01:15:57,538 [INFO]  Please wait 2020-10-16 01:15:58,109 [INFO]  Please wait Traceback (most recent call last): File "C:\autoshift-master\auto.py", line 218, in main(args) File "C:\autoshift-master\auto.py", line 188, in main redeemed = redeem(key, platform) File "C:\autoshift-master\auto.py", line 58, in redeem status = client.redeem(key.key, platform) File "C:\autoshift-master\shift.py", line 140, in redeem status, result = self.redeem_form(form_data) File "C:\autoshift-master\shift.py", line 317, in redeem_form r2 = self.client.get(redirect) File "C:\Users\Username\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 543, in get return self.request('GET', url, **kwargs) File "C:\Users\Username\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 516, in request prep = self.prepare_request(req) File "C:\Users\Username\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 459, in prepare_request hooks=merge_hooks(request.hooks, self.hooks), File "C:\Users\Username\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\models.py", line 314, in prepare self.prepare_url(url, params) File "C:\Users\Username\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url raise MissingSchema(error) requests.exceptions.MissingSchema: Invalid URL '/rewards': No schema supplied. Perhaps you meant http:///rewards?

Fabbi commented 4 years ago

that's strange. It seems that the Shift Plattform wanted to redirect you to /rewards.. What happenes if you rerun it only using the blps game?

Fabbi commented 2 years ago

no answer => assume this was a one-time bug