Skip to content

joonas-yoon/boj-source-downloader

Repository files navigation

BOJ source downloader

build

Download your ACCEPTED codes on BOJ

Release v1.1

Available at https://github.com/joonas-yoon/boj-source-downloader/releases/tag/v1.1

Download it and unzip, run boj-source-downloader.exe!

Requirements

  • Chrome WebDriver
  • Python 3
  • pip

Chrome WebDriver

Prepare and download chromedriver.exe from https://sites.google.com/a/chromium.org/chromedriver/downloads

and place it in project directory.

Set up

(optional) create virutal environment for python if you need

Install python packages:

$ pip install -r requirements.txt

How to use

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)

Terms of Use

We do not take disadvantage by running this program. You are responsible for your own actions