Download all your leetcode solutions
0xB299
April 13th, 2022

Clone this repo, git clone https://github.com/theabbie/leetcode_dump

Run yarn to install all required dependencies.

Run yarn leetcode to start the process, it will ask for your leetcode cookie which is required to fetch your submissions, it can be found in your browser storage.

It will ask for the path to save all your code files, enter the path and press Enter.

Wait for some time as it fetches 20 submissions / second, if rate limit is exceeded it will wait for 10 seconds before trying again, this usually happens because csrf token is expired, you may use new cookie and continue from where it stopped (number of submissions fetched already).

Contributing

Thank you for your interest in contributing, If you feel like there's something missing or any new feature can be added, just create a PR and I will see the rest.

Help

You can contact me on social media, Everything about me can be found here

Requirements

  • Node.JS
  • Linux preferably

Contact me anywhere, just visit my portfolio

Arweave TX
mxLvJwPxvTAtaCXiNxqS4drJeG15bZNeOnpKnZXasQM
Ethereum Address
0xB299F537dF94884C17A850F227D66A484A9a17ea
Content Digest
hr1VgZWsjjb6zQ2zcokF8M9NKeh6pFUq_3-oOEvw5B4