Python Script to download all the AC solutions of a user.
Difference between en3 and en4, changed 16 character(s)
Hi everyone!↵
↵
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.↵
↵
Please find the source code on the following github repo — [https://github.com/pamnaniarik/codeforces_ac](https://github.com/pamnaniarik/codeforces_ac)↵
↵
Some insights — ↵
↵
1. You just need to provide the username to download the AC solutions.↵
`sudo python run.py username`↵
↵
2. For downloading and installing Selenium, please refer to [selenium docs](http://selenium-python.readthedocs.io/). ↵
↵
3. 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`↵
↵
4. 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'.↵
↵
5. 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. :)↵
↵
↵
↵
↵
↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English dragon.warrior 2017-06-17 13:03:52 12 Tiny change: 'Hi everyone!\n\nDownl' -> 'Hi Codeforces!\n\nDownl'
en5 English dragon.warrior 2017-03-09 16:27:42 11
en4 English dragon.warrior 2017-03-09 15:11:28 16 Tiny change: 'Downloadin' -> 'Hi everyone!\n\nDownloadin'
en3 English dragon.warrior 2017-03-09 15:08:57 0 (published)
en2 English dragon.warrior 2017-03-09 15:08:23 161
en1 English dragon.warrior 2017-03-09 14:58:40 986 Initial revision (saved to drafts)