Download tweet images and videos
Project description
Download twitter resources
Download tweet images and videos. Run threads which has a event loop to download resources asynchronously.
pip3 install download-twitter-resources
usage: download-twitter-resources [-h] [-c CONFIDENTIAL]
[-s {large,medium,small,thumb,orig}]
[--tweet] [--video] [-l LIMIT] [--rts]
[--thread-number THREAD_NUMBER]
resource_id dest
Download all images uploaded by a twitter user you specify
positional arguments:
resource_id An ID of a twitter user. Also accept tweet url or
tweet id.
dest Specify where to put images
optional arguments:
-h, --help show this help message and exit
-c CONFIDENTIAL, --confidential CONFIDENTIAL
a json file containing a key and a secret
-s {large,medium,small,thumb,orig}, --size {large,medium,small,thumb,orig}
specify the size of images
--tweet indicate you gived a tweet url or tweet id
--video include video
-l LIMIT, --limit LIMIT
the maximum number of tweets to check (most recent
first)
--rts save images contained in retweets
--thread-number THREAD_NUMBER
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for download_twitter_resources-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb00efe5c7e3409b4de2fc7460df21573a9d11ca1e756563193f583a6ba9b2b1 |
|
MD5 | 07a04f56f5b5f1fc581bfc4bac1f9535 |
|
BLAKE2b-256 | b4d59a7497854de78fed5ceabaafc663631f687a14e71181ea496f7dfbf0ff62 |