Python Script to download all the AC solutions of a user.

Правка en4, от dragon.warrior, 2017-03-09 15:11:28

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

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.

  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. :)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en6 Английский dragon.warrior 2017-06-17 13:03:52 12 Tiny change: 'Hi everyone!\n\nDownl' -> 'Hi Codeforces!\n\nDownl'
en5 Английский dragon.warrior 2017-03-09 16:27:42 11
en4 Английский dragon.warrior 2017-03-09 15:11:28 16 Tiny change: 'Downloadin' -> 'Hi everyone!\n\nDownloadin'
en3 Английский dragon.warrior 2017-03-09 15:08:57 0 (published)
en2 Английский dragon.warrior 2017-03-09 15:08:23 161
en1 Английский dragon.warrior 2017-03-09 14:58:40 986 Initial revision (saved to drafts)