By this code, you can download your all accepted solutions from spoj overnight.
python 3, selenium, urllib
First install python 3.6
Install pip
git clone this repository
Then go the folder from command line
sudo pip install -r requirements.txt
It will install all of the library needed.
Then run this command to give permission to chrome driver (Linux & Mac only)
sudo chmod 777 chromedriver_linux [for Linux]
sudo chmod 777 chromedriver_mac [for Mac]
Then,
1. Just run "python spoj-downloader.py" file on your terminal
2. Give your username and password
3. Let the browser on your screen (w/o this, script won't work)
And,
4. Go for a coffee or workout
5. Coming home you will see all your accepted codes in a structerd way :)
- Download all your accepted codes from spoj
- You can solve more, and the next time you run this, it will just resume the download
- 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
- Shubhashis Roy Dipta - Initial work - dipta007