Exaphis / HackQ-Trivia

Yet another HQ Trivia bot. Automatically scrapes HQ Trivia questions without OCR and answers them.
MIT License
89 stars 54 forks source link

Doesnt Work #29

Closed shabbir1215 closed 6 years ago

shabbir1215 commented 6 years ago

getting this error Show active, connecting to socket at https://ws-quiz.hype.space/ws/44256 Connected Traceback (most recent call last): File "C:\Users\test\Desktop\HackQ-Trivia-master\hq_main.py", line 51, in asyncio.get_event_loop().run_until_complete(networking.websocket_handler(socket, headers)) File "C:\Program Files\Python36\lib\asyncio\base_events.py", line 467, in run_until_complete return future.result() File "C:\Users\test\Desktop\HackQ-Trivia-master\networking.py", line 56, in websocket_handler raise RuntimeError("Connection settings invalid") RuntimeError: Connection settings invalid

Exaphis commented 6 years ago

That means your connection settings are invalid. Make sure your bearer token/user ID is correct.

shabbir1215 commented 6 years ago

U said to use the bearer token from the post and how do I find my bearer token??

Exaphis commented 6 years ago

Sniffing phone traffic. If you can't find yours, you can use one found in gjacobs314's HackQ for Swift repository: https://github.com/gjacobs314/HQTrivia.

shabbir1215 commented 6 years ago

I used it from there and the error came up

Exaphis commented 6 years ago

If so, then you are pasting it wrong or pasting it in the wrong location.

shabbir1215 commented 6 years ago

I pasted it in the place where it says bearer token I'd in side the notepad then saving it

Exaphis commented 6 years ago

Can you post a screenshot of it?

shabbir1215 commented 6 years ago

nvm u right i did it wrong lemme see if it works today

Exaphis commented 6 years ago

Alright, best of luck.

shabbir1215 commented 6 years ago

It worked thanks a lot man amazing work.