An open API service indexing awesome lists of open source software.

https://github.com/codophobia/spoj-solutions-downloader

This python script downloads all the solutions for solved problem on spoj for a user.
https://github.com/codophobia/spoj-solutions-downloader

Last synced: over 1 year ago
JSON representation

This python script downloads all the solutions for solved problem on spoj for a user.

Awesome Lists containing this project

README

          

# Spoj-Solutions-Downloader
This python script downloads all the solutions for solved problem on spoj for a user.

Platform: Linux with python 2.7

Installing Requirements


  • RoboBrowser: sudo pip install robobrowser

  • The other option is to create a virtualenv and then install all the requirements given in requirements.txt using pip -r install requirements.txt

Running the script: python spoj.py

Enter your spoj username and password when asked. Then, it will download all solutions in a folder "spoj_solutions" in the same directory where the script is.

Note: The script only downloads the last submitted solution for all the questions even if that solution is not an accepted one.

If you are facing an error which says "Unable to parse filetype", check if the language you code in is present in the extension dictionary in the 5th line of the script. Make sure the formats match. If not, add your language code along with its extension.