- Stand on the shoulders of giants - this bot was created largely with beginner knowledge of HTML + Python after watching 2 tutorials:
- How to build a twitter bot: https://www.youtube.com/watch?v=7ovFudqFB0Q&t
- How to use Google Sheets with Python: https://www.youtube.com/watch?v=cnPlKLEGR7E
- python
- pip
- chromedriver
- selenium
- gspread
- oauth2client
- clone repository
git clone https://github.com/shubhayu-64/jobsearchbot.git
- mkdir chromedriver in root directory
- download selenium driver for your version of chrome: https://chromedriver.chromium.org/downloads
- copy chromedriver.exe to chromedriver folder
pip install gspread oauth2client
(also part of step 8)
- create a
creds.json
in root directory
{
"type": "",
"project_id": "",
"private_key_id": "",
"private_key": "",
"client_email": "",
"client_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_x509_cert_url": ""
}
-
Follow from beginning to minute 7 this Youtube tutorial for how to populate and install: https://www.youtube.com/watch?v=cnPlKLEGR7E
-
Replace sheet name with your sheet name on line 17:
sheet = client.open("sheetName").sheet1
- run with
python app.py
- wait for bot to finish
- check the google sheet for results
- Change the urls used in
bot.get('')
on line 42 - Capture additional data from job ad by modifying lines 59-107
- Save results outside of google sheets e.g. a .txt file or e-mail