document improvement

master
stockbsd 2019-11-04 09:16:23 +08:00
rodzic a1e89532e4
commit 2cf147bc59
3 zmienionych plików z 12 dodań i 6 usunięć

Wyświetl plik

@ -20,14 +20,14 @@ usage: twitter-dl [-h] [-c CONFIDENTIAL]
Download all images and/or videos uploaded by a twitter user you specify
positional arguments:
resource_id An ID of a twitter user. Also accept tweet url or
resource_id An ID of a twitter user. Also accept user id files, list or
tweet id.
dest Specify where to put images
dest Specify where to put images/videos
optional arguments:
-h, --help show this help message and exit
-c CONFIDENTIAL, --confidential CONFIDENTIAL
a json file containing a key and a secret
a json file containing (a key and a secret) or bearer_token
-s {large,medium,small,thumb,orig}, --size {large,medium,small,thumb,orig}
specify the size of images
--tweet indicate resource_id is a numbered tweet id
@ -42,3 +42,11 @@ optional arguments:
--coro-number CORO_NUMBER
--since SID
```
```
Examples:
twitter-dl --tweet 1191067520033337345 pv
twitter-dl --rts -l 10 --video ladygaga pv
twitter-dl --rts -l 10 --video --nophoto --list YouTube:hey-fam pv
twitter-dl --rts -l 10 --video --file idfiles.txt pv
```

Wyświetl plik

@ -1,6 +1,4 @@
{
"access_token": "",
"access_token_secret": "",
"consumer_key": "",
"consumer_secret": "",
"bearer_token": ""

Wyświetl plik

@ -1,3 +1,3 @@
from .downloader import Downloader
version = "0.1.6"
version = "0.1.7"