Skip to content

Yet another HQ Trivia bot. Automatically scrapes HQ Trivia questions without OCR and answers them.

License

Notifications You must be signed in to change notification settings

Exaphis/HackQ-Trivia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HackQ-Trivia

Yet another HQ trivia bot, in Python. Automatically scrapes HQ Trivia questions without OCR and answers them.

Getting Started

Requires Python 3.6+

Dependencies

Required

aiohttp
bs4
nltk
unidecode

Optional

aiodns
cchardet

Installation

git clone https://github.com/Exaphis/HackQ-Trivia.git
cd HackQ-Trivia
pip install -r requirements.txt

In Python 3, run:

import nltk
nltk.download("all")

Enter your bearer token and user ID in the conn_settings.txt file. These values can be found by sniffing the traffic on your phone. The bearer token should be one line, without the word Bearer.

Usage

python3 hq_main.py

About

Yet another HQ Trivia bot. Automatically scrapes HQ Trivia questions without OCR and answers them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages