1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Alexander Andreev 0ed1e896ca Updated README. 2020-07-08 23:13:32 +04:00
Alexander Andreev 9a9aa8f714 Updated usage. 2020-07-08 23:13:17 +04:00
2 changed files with 13 additions and 8 deletions

View File

@ -14,14 +14,13 @@ directory hierarchy in a working directory:
# Usage
```bash
scrapthechan [<url> | <imageboard> <board> <thread>] [-o,--output-dir] [--no-op]
[-v,--version] [-h,--help]
scrapthechan [OPTIONS] (<url> | <imageboard> <board> <thread>)
```
There are two ways to pass a thread. One is by passing a full URL of a thread
(`<url>` argument), and the other one is by passing thread in three components:
`<imageboard>` is a name of website (e.g. 4chan), `<board>` is a name of a board
(e.g. wg), and `<thread>` is a number of a thread on that board.
`<url>` -- URL of a thread.
`<imageboard> <board> <thread>` -- imageboard name, board name and thread ID
separately. E.g. `4chan b 1100500`.
`-o`, `--output-dir` -- output directory where all files will be dumped to.

View File

@ -16,7 +16,7 @@ __all__ = ["main"]
USAGE = \
"""Usage: scrapthechan [OPTIONS] (URL|)
"""Usage: scrapthechan [OPTIONS] (URL | IMAGEBOARD BOARD THREAD)
Options:
\t-h,--help -- print this help and exit;
@ -27,7 +27,13 @@ Options:
\t-N,--no-op -- by default OP's post will be written in !op.txt file. This
\t option disables this behaviour;
Supported imageboards: 4chan.org, 2ch.hk, lainchan.org
Arguments:
\tURL -- URL of a thread;
\tIMAGEBOARD -- name of a imageboard. E.g. 4chan;
\tBOARD -- short name of a board. E.g. b;
\tTHREAD -- ID of a thread. E.g. 100500.
Supported imageboards: 4chan.org, 2ch.hk, lainchan.org.
"""