1 / 3
Feb 2010

At Sphere Online Judge (spoj.pl) we are given the capability of trying out the challenging problems given. It also gives you the capability of viewing and downloading your own solution.

The tool spojbackup tends to automatically backup all your Accepted submissions and save them on the desired location of your computer. The basic idea is to automate the process which can be used as a backup and an offline reference tool of your own codes.

Features:

* Resume downloads. spojbackup currently supports resuming of the solutions if internet connection is disrupted
* Incremental backup facility it'll not download the code already present on your machine. Only newer code added in your signedlist will be downloaded
* User-defined destination all codes are saved at user-defined destination if no option is given by user it saves in the folder from where command is run
* Proxy support Proxy support is provided as SPOJ users are generally university students and they are generally behind a proxy and university firewall.

How to run:
Save the script.
Download and install python, setuptools and mechanize.
run $python spojbackup.py --help to see options.

The download link is here : code.activestate.com/recipes/577036/11
The github link is here to fork and contribute : github.com/ideamonk/spojbackup6

  • created

    Feb '10
  • last reply

    May '14
  • 2

    replies

  • 1.0k

    views

  • 3

    users

  • 3

    links

2 years later

The backup tool is not working. It is just creating empty(0 bytes) files.

1 year later

I am getting the error: "mechanize required but missing" instead of a prompt to enter my username.

What am I missing?
I am using Ubuntu 13.10