-
Download binary file from here: lcp
-
chmod +x ./lcp
-
Try run
./lcp progress -t day
-
Open Preference --> Security & Privacy --> General
-
Allow lcp
chmod +x ./lcp
./lcp cookie -s '{PASTE YOUR COOKIE HERE}'
./lcp progress -t day
./lcp progress -t month
./lcp progress -t year
If you run lcp progress
but the total number is not accurate, try these command to cleanup:
# remove the log files
./lcp reset -f data
# re-run
./lcp progress -t day
- Open your browser
- Inspect --> Network
- Go to https://leetcode.com/submissions/
- Filter the requests by "api/sub"
- Copy as cURL and find the cookie
- Open postman
- Import -> Paste Raw text and import
- After import, click code
- Scroll down to the end and copy the last Cookie