Install Chrome webdriver, place the executable in /usr/local/bin/chromedriver
.
Install python dependencies
conda create -n geoguessr python=3.10
conda activate geoguessr
pip install -r requirements.txt
Get your credentials, so that the bot is able to connect.
- Launch the game
- Use a cookie manager (like EditThisCookie) to get the following cookies from your computer
G_ENABLED_IDPS
,_ncfa
,devicetoken
.
Write a file cookies.json
at the root
{
"G_ENABLED_IDPS": "google",
"_ncfa": <long character string>,
"devicetoken": <~10 character string>
}
python main.py