Downloading all the AC solutions of a cumbersome task. I have written a script in Python (uses Selenium 3.0.2) to automatically download all the AC solutions of a user.
Some insights —
You just need to provide the username to download the AC solutions.
sudo python run.py username
For downloading and installing Selenium, please refer to selenium docs.
This script works only on chrome (or chromium), and Linux. Make sure that chromedriver is placed on the correct path, i.e.
/usr/bin/chromedriver
All the downloaded solutions are stored in a folder named
/home/codeforces
. If you want to change this, change the variable path in 'file.py'.Currently, file extensions for Python, C++, and Java are supported. More language support will be added later.
Please send me any queries or feedback related to this through inbox. :)