A CLI tool for setting up a cron job that pushes recent leetcode submissions to a specified Github repo.
- Added support for the latest languages on Leetcode
- Added handling to prevent cron job failing from unrecognized language
pip install leetcron
leetcron setup
-g
Github setup
-c
Leetcode cookie setup
-j
Cronjob setup
- Obtain a Github Access Token through the steps here
- Make sure you are logged into Leetcode on Chrome or Firefox before running the setup.
- Try running
leetcron setup -c
to grab the newest Leetcode cookie if task fails.
leetcron run