This tool is used to track your daily efforts on LeetCode. It will show how many questions are solved by date and by difficulty.
-
Download the repo or clone it using:
git clone https://github.com/vivalkm/leetcode_progress_tracker.git
-
Run:
python3 main.py
This will count your solved questions by difficulty in last 10 days by default. -
For the first time running, the tracker will ask for your csrftoken & LEETCODE_SESSION cookie which can be found by following steps:
a. Log into LeetCode using your browser as you would normally do.
b. Get your csrftoken & LEETCODE_SESSION using the browser inspection tools
-
Sample Output
- Count all solved questions by date for your session:
python3 tracker_cli.py -a
- Count solved questions in last n recent days:
python3 tracker_cli.py -n