1
0

Compare commits

..

No commits in common. "0ed1e896ca5a3f5d009e1087ea83463f7629ad12" and "9fcb09f442dac26e19121cbd7fa56882e01e1e6d" have entirely different histories.

2 changed files with 8 additions and 13 deletions

View File

@ -14,13 +14,14 @@ directory hierarchy in a working directory:
# Usage
```bash
scrapthechan [OPTIONS] (<url> | <imageboard> <board> <thread>)
scrapthechan [<url> | <imageboard> <board> <thread>] [-o,--output-dir] [--no-op]
[-v,--version] [-h,--help]
```
`<url>` -- URL of a thread.
`<imageboard> <board> <thread>` -- imageboard name, board name and thread ID
separately. E.g. `4chan b 1100500`.
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.
`-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 | IMAGEBOARD BOARD THREAD)
"""Usage: scrapthechan [OPTIONS] (URL|)
Options:
\t-h,--help -- print this help and exit;
@ -27,13 +27,7 @@ Options:
\t-N,--no-op -- by default OP's post will be written in !op.txt file. This
\t option disables this behaviour;
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.
Supported imageboards: 4chan.org, 2ch.hk, lainchan.org
"""