Compare commits
2 Commits
9fcb09f442
...
0ed1e896ca
Author | SHA1 | Date | |
---|---|---|---|
0ed1e896ca | |||
9a9aa8f714 |
11
README.md
11
README.md
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
"""
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user