Skip to content

Instantly share code, notes, and snippets.

View devanshdalal's full-sized avatar
🥝

Devansh D. devanshdalal

🥝
View GitHub Profile
# Steps To follow to download your leetcode:
#1. Login to leetcode account on your default browser
#2. Get your session Id for leetcode.com from Browser ( for chrome: press settings, then content settings, then Go to Cookies and copy value of field 'LEETCODE_SESSION'; you can find similar value for firefox and other browsers).
#3. Create a folder to save your leetcode codes.
#4. Keep the downloaded leetcode.py into that folder
#5. Pass LEETCODE_SESSION as the first command line argument with your session ID (copied in step 2)
#6. run file as 'python leetcode.py LEETCODE_SESSION_ID'
#7. wait for all submssions to download.
# Features: