This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Ubuntu 14.04 LTS (Trusty Tahr) | |
# | |
# Basic packages i usually install | |
# | |
# Author: Julius Beckmann <github@h4cc.de> | |
# | |
# For 16.04 Xenial Xerus: https://gist.github.com/h4cc/fe48ed9d85bfff3008704919062f5c9b | |
# |