Skip to content

Using Google CSE and Tesseract OCR to crack HQ Trivia.

Notifications You must be signed in to change notification settings

collinmurch/hqpwner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

hqpwner

A python script to both parse and analyze trivia questions from the game "HQ Trivia".

Only MacOS is currently supported.

To use this script, a "tokens.json" file is required, which looks like:

{
    "key":"somekeysomekeysomekey",
    "cx":"someidsomeidsomeid"
}

Both the key and CSE ID can be found on Google's CSE API page.

Read more at: medium article, or my follow-up: other medium article.


Setup example:

>>> brew install tesseract

>>> git clone https://github.com/collinmurch/hqpwner

>>> cd ./hqpwner

>>> echo '{"key":"somekey","cx":"someid"}' > tokens.json

>>> python3 hqpwner.py

botimage

About

Using Google CSE and Tesseract OCR to crack HQ Trivia.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages