下载tweet图片和视频

download-twitter-resources的Python项目详细描述


下载Twitter资源

下载tweet图片和视频。运行具有事件循环以异步下载资源的线程。

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
安卓中通过TCP发送时java文件损坏   Java测试预期=异常失败,断言错误   java ssh4 LazyInitializationException   java是否可以在集合中添加重复项?   java是一个免费的开源数据库管理工具   java是否可以在导出的html中嵌入图像   编译器构造解释一些东西,并用Java运行生成的字节码?   java KeyPairGenerator未生成随机密钥   java使用正则表达式生成字符串而不是匹配字符串   java中的多线程线程间通信   具有复合密钥的java Hibernate合并问题   java不能在MainActivity类之外使用SharedReferences变量   正在获取切割/零件异常消息。使用java Spring ControllerAdvice   java tomcat漏洞讨论   javascript在Java中实现“system”命令   java如何在JUnit5*中加载*Spring测试上下文之前获取回调?   java bluej关于缺少返回语句   JavaSpringBoot@ModelAttribute包含使用字符串键的其他模型   从可选中抛出异常。ifPresent()Java 8