Coronavirus tracker for the state of New Jersey. Forked version ditches selenium for a request based data grabber that runs faster and uses less system resources. Now grabs hospitalization data as well.
Coronavirus tracker for the state of New Jersey. Built with Requests, implemented in Python. Seeing that cases keep rising, it's important to be aware of the new developments in cases, vaccines, and tests.
Setup
To get this web scraper running locally, the setup is very minimal. The only step is to edit the .env file with your information.
1) The first step is to fill out the Twitter Developer API keys:
You can get your own API keys from the Twitter Developer page. Just create a Twitter Developer Account, and create an app. Generate its API keys, and this is important: you must give it permissions to write and read to your twitter account. Once you do that, copy the keys and paste them into their appropriate fields in the .env file.
2) Second, in the WHEN_TO_RUN field, specify when you want the program to run in 24H time. For example, if you want it to run at 4:30 PM, enter 16:30.
3) Last, you need to install the dependencies. Run these commands, and then you should be good to run the program!
You also need Selenium installed and in your PATH. In order to learn how to do this, follow the docs.
About
Hi! I'm Sid, a Full Stack developer currently in High School. You can learn more about me on my website, or you can follow me on Twitter! If you found this project helpful, star it on Github!
Forked by @carcraftz. You can learn more about me on my website