Skip to content

dipta007/spoj-code-downloader

Repository files navigation

SPOJ Code Downloader

By this code, you can download your all accepted solutions from spoj overnight.

Prerequisites

python 3, selenium, urllib

Installing

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

Features:

  • 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

Built With

  • Python - The main platform
  • urllib - To get data from Codeforces API
  • Selenium - Used to get the source code

Authors

  • Shubhashis Roy Dipta - Initial work - dipta007

About

A simple script to download all of your accepted solutions from spoj

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages