msemple1111 / kahoot-hack

A suite of tools for easily manipulating the kahoot.it quiz platform
GNU General Public License v3.0
65 stars 27 forks source link

[Bug] (Have a simple fix) 'challenge' Variable not Defined #40

Closed lucadenhez closed 2 years ago

lucadenhez commented 3 years ago

Hello, for the first time when running 'play.py', I got error code 909. I modified the code to show the exception, and it said 'challenge is not defined'. I looked at the method 'solve_kahoot_challenge' and you're trying to pass 'dataChallenge', but all the variables within it are using the variable 'challenge'. So yeah I just changed 'dataChallenge' to 'challenge' and it works like a charm! This code is awesome btw. And sorry If this isn't a formal bug report, I've never made one on GitHub before.

chris-thorpe3db commented 2 years ago

Fork the repo, open a pull request! He might merge it.

msemple1111 commented 2 years ago

merged PR containing fix