Skip to main content

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


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

download_twitter_resources-0.2.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file download_twitter_resources-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: download_twitter_resources-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for download_twitter_resources-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 32d614e1c20255c492080c7f02913740c86650ff8ee306f84b960eee9180d317
MD5 3b1f682066ee6371e185eb446f4f8277
BLAKE2b-256 e6fecde79e6631df62000ab09c608a72a993390eddecc5ab2769500bdc21c041

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page