Download your ACCEPTED codes on BOJ
Available at https://github.com/joonas-yoon/boj-source-downloader/releases/tag/v1.1
Download it and unzip, run boj-source-downloader.exe
!
- Chrome WebDriver
- Python 3
- pip
Prepare and download chromedriver.exe
from https://sites.google.com/a/chromium.org/chromedriver/downloads
and place it in project directory.
(optional) create virutal environment for python if you need
Install python packages:
$ pip install -r requirements.txt
Run a command as following:
$ python main.py
Chrome starts, and it wait for log in website(BOJ).
When you logged in BOJ, this script will get your latest accepted sources for each problems.
Sources are saved in ~/sources
directory with {problem_id}.{language_extention}
(e.g. 1000.py
)
We do not take disadvantage by running this program. You are responsible for your own actions