As an experiment the Educational Codeforces Round 33 will be rated for Div. 2. ×

dragon.warrior's blog

By dragon.warrior, history, 8 months ago, In English,

Hi Codeforces!

Downloading all your AC solutions is 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. :)

 
 
 
 
  • Vote: I like it  
  • +27
  • Vote: I do not like it  

»
8 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by dragon.warrior (previous revision, new revision, compare).

»
8 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by dragon.warrior (previous revision, new revision, compare).

»
5 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by dragon.warrior (previous revision, new revision, compare).

»
3 months ago, # |
  Vote: I like it -11 Vote: I do not like it

The Selenium project team announced in August 2017 that Selenium IDE is not compatible with Firefox 55 and future versions of the web browser.

»
3 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Selenium supports Python and thus can be utilized with Selenium for testing. Python is easy compared to other programming languages

  • »
    »
    2 months ago, # ^ |
      Vote: I like it -13 Vote: I do not like it

    selenium supports not only python it's a comminations selenium with java, seleniun with python, selenium with cucumber, selenium with c#, selenium with php and so on.....

»
3 months ago, # |
  Vote: I like it 0 Vote: I do not like it

It'd be cool if you could specify path (other than /home/codeforces) as an execution argument