- Run
pip install -r requirements.txt
- Download Firefox and run
brew install geckodriver
(for Mac users),npm install geckodriver
might work too. For linux users, runsudo apt-get install firefox-geckodriver
- Set filepaths in
scrape.py
(specifically add your specific 'ScrapeGitHubStars_PyTorch_1.csv' file and update the filepath so scrape.py can find it) - Run
python scrape.py
orpython3 scrape.py
. A Firefox browser should pop up. You have 30 seconds to log in to your GitHub account manually. After that, the program will start scraping and you can safely ignore it. - If, for some reason, you exit or terminate the program prematurely, just run
python3 scrape.py
again and it should pick up from where you stopped.