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.
- Host: GitHub
- URL: https://github.com/codophobia/spoj-solutions-downloader
- Owner: codophobia
- Created: 2016-10-09T17:44:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T08:22:58.000Z (over 6 years ago)
- Last Synced: 2025-01-20T00:16:43.276Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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.