TobiasPankner / Gleam-giveaway-bot

Python bot to automatically find and complete gleam giveaways.
GNU General Public License v3.0
91 stars 45 forks source link

JSONDecodeError #3

Closed AshMan420 closed 3 years ago

AshMan420 commented 3 years ago

When I run login.py, it closes in an instant. When I run it from cmd by using py login.py, it shows the error json.decoder.JSONDecodeError: Invalid \escape: line 4 column 26 (char 60)

TobiasPankner commented 3 years ago

There is an issue with your json file. Try putting it into a json parser website and see if there are errors.

AshMan420 commented 3 years ago

I did, as you can see below. I even tried it on another computer thinking there was something wrong with the current one. But the same error showed up. You can see here what the issue is Annotation 2020-11-13 225456

TobiasPankner commented 3 years ago

Try replacing the single backslashes (\) with double backslashes (\\) or single slashes.

AshMan420 commented 3 years ago

That seems to have worked, thanks! Now, I just have to sign in, and then run the giveaway_bot.py, right?

TobiasPankner commented 3 years ago

Yeah, run login.py, login and follow the instructions. After that run giveaway_bot.py.

AshMan420 commented 3 years ago

I really appreciate your quick responses, it means a lot :)

TobiasPankner commented 3 years ago

You're welcome!

AshMan420 commented 3 years ago

Also, if I receive an item I won from the bot, is it illegal? Like if I have an item ship to me or something?

TobiasPankner commented 3 years ago

I don't know, but usage of the bot is at your own risk.