A Web Crawler Scraping LeetCode Problems info such as Difficulties, Related Questions and Topics.
pip install requests
pip install pandas
Top Level: main.py
usage: Scrape Extra Info [-h] [-m] [-y] [-t] [-r]
optional arguments:
-h, --help show this help message and exit
-m, --multiprocess Use Multiprocessing (utilize as many cores as possible)
-y, --yield_ Use Yield when Sending requests
-t, --table Generate Table
-r, --readme Generate README
python main.py -m -t -r # recommended, otherwise data may not always be up to date