Skip to content

lindayi/VaccineBotTO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VaccineBotTO

VaccineBotTO on Twitter

Twitter URL

Project page: https://lindayi.me/vaccinebotto/

Dependencies

  • python (tested on 3.7.4)
  • selenium (tested on 3.141.0)
  • undetected_chromedriver (tested on 2.2.1)
  • tweepy (tested on 3.10.0)
  • gspread (tested on 3.7.0)
  • pytz (tested on 2019.3)

Setup

  1. Update the following storage-related variables in config.py: BASE_PATH, SHEET_URL_ID, and optionally, CRAWLER_FILE.
  2. Update the following credential variables in config.py: TWITTER_CONSUMER_KEY, TWITTER_CONSUMER_SECRET, TWITTER_ACCESS_KEY, TWITTER_ACCESS_SECRET, SHEET_KEY_FILE.
  3. Update the CAPTCHA_KEY for Verto Health API in config.py. The Key can be obtained by going to the Verto Health booking site, solve the CAPTCHA once, land on the date selection page and inspect the network request to the availability endpoint when you select any date. It is the string value in the authorization request header, in the format of Bearer .... You only need to put what's after Bearer into the CAPTCHA_KEY variable in config.py.
  4. (Optional) Modify any other configurations of interest in config.py to adjust the scope, behavior, and Tweet template.
  5. Set up cron job to run the bot periodically. For example, */5 * * * * python3 /projects/vacbot/vacbot.py >> /projects/vacbot/output.log

About

VaccineBotTO on Twitter (@to_vaccine)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages