Google Docs scraping utility designed to grab and organize the Lekmod Master List of Civilizations Google Doc for easy storage in PocketBase. Mainly used in order to assist with developing LekBot.
NOTE: In order to run this project, you need a Google Docs API key and a Google Doc that you have permission to read. I can't help you with the latter, but the former has plenty of resources to get you started.
- Open a terminal and navigate to the cloned project directory. Create a
.env
file by runningtouch .env
or by using another method. - Create a
GOOGLE_CREDENTIALS_FILE_PATH
field and aDOCUMENT_ID
field. Add your JSON credentials filepath as a value forGOOGLE_CREDENTIALS_FILE_PATH
, and the ID of the Google Doc you want to scrape inDOCUMENT_ID
. - Run the project!