By this code, you can download your all accepted solutions from codeforces overnight.
python 2.7, selenium, urllib
First install python 2.7 ( python 3.x wont work for now ) urllib is already installed in most of the PC
Install pip
Then install selenium by executing this command in terminal
sudo pip install selenium
Then,
1. Download the whole folder
2. Move all the files to the folder, where you want to save all your codes
3. If you have submitted any code in coach mode, please make it ON before running this script.
4. Just run "codeforces-downloader.py" file on your terminal
5. Give your username and password
And,
5. Go for a coffee or workout
6. Coming home you will see all your accepted codes in a arranged way :)
- Download all your accepted codes from codeforces including gym and coach mode
- If the download interrupted for any cause, next time the download will be resumed.
- All solutions will be arranged in a structured way
- Python - The main platform
- urllib - To get data from Codeforces API
- Selenium - Used to get the source code
- json - Used to parse data from Codeforces API
- Shubhashis Roy Dipta - Initial work - dipta007
- Thanks to manojpandey for his awesome code from that I got the idea