File tree Expand file tree Collapse file tree 1 file changed +40
-3
lines changed
Expand file tree Collapse file tree 1 file changed +40
-3
lines changed Original file line number Diff line number Diff line change 1- # BOJ Saver
1+ # BOJ source saver
22
3- ## Chrome WebDriver
3+ Save your ACCEPTED codes on [ BOJ ] ( https://www.acmicpc.net )
44
5- https://sites.google.com/a/chromium.org/chromedriver/downloads
5+ ## Requirements
6+
7+ - Chrome WebDriver
8+ - Python 3
9+ - pip
10+
11+ ### Chrome WebDriver
12+
13+ Download ` chromedriver.exe ` from https://sites.google.com/a/chromium.org/chromedriver/downloads
14+
15+ and place it in project directory.
16+
17+ ## Set up
18+
19+ (optional) create virutal environment for python if you need
20+
21+ Install python packages:
22+ ```
23+ $ pip install -r requirements.txt
24+ ```
25+
26+ ## How to use
27+
28+ Run a command as following:
29+ ```
30+ $ python main.py
31+ ```
32+
33+ Chrome starts, and it wait for log in website(BOJ).
34+
35+ When you logged in BOJ, this script will get your latest accepted sources for each problems.
36+
37+ Sources are saved in ` ~/sources ` directory with ` {problem_id}.{language_extention} ` (e.g. ` 1000.py ` )
38+
39+
40+ ## Terms of Use
41+
42+ We do not take disadvantage by running this program. ** You are responsible for your own actions**
You can’t perform that action at this time.
0 commit comments