diff --git a/README.md b/README.md index 35a25e6..d3a1d70 100644 --- a/README.md +++ b/README.md @@ -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 +``` \ No newline at end of file diff --git a/example.config.json b/example.config.json index 26e008e..bb652d6 100644 --- a/example.config.json +++ b/example.config.json @@ -1,6 +1,4 @@ { - "access_token": "", - "access_token_secret": "", "consumer_key": "", "consumer_secret": "", "bearer_token": "" diff --git a/twitter_dl/__init__.py b/twitter_dl/__init__.py index c76e653..84a2864 100644 --- a/twitter_dl/__init__.py +++ b/twitter_dl/__init__.py @@ -1,3 +1,3 @@ from .downloader import Downloader -version = "0.1.6" +version = "0.1.7"