TwitterTimelineClientScript

阅读量: x7 2022-06-28 12:03:49

TwitterTimelineClientScript

This is a script to get Twitter Timeline Client from user or userfile.

项目地址:https://github.com/x7peeps/TwitterTimelineClientScript

Key Features

Getting Started

  1. git clone git@github.com:x7peeps/TwitterTimelineClientScript.git
  2. cd TwitterTimelineClientScript
  3. pip3 install -r requestments.txt
  4. 编辑TwitterTimelineClientScript.py中的twitter API key
  5. python3 TwitterTimelineClientScript.py -h

Usage

usage: TwitterTimelineClientScript.py [-h] [-f /yourpath/twitter_name_file.txt] [-u elonmusk] [-l 5] [-o /yourpath/twitter_results_output.csv]

Twitter Api for read twitters.by x7peeps.com community v0.1

optional arguments:
  -h, --help            show this help message and exit
  -f /yourpath/twitter_name_file.txt, --filepath /yourpath/twitter_name_file.txt
                        读取文件中的username
  -u elonmusk, --username elonmusk
                        指定一个username查询twitter信息
  -l 5, --limit 5       限制查询的数量
  -o /yourpath/twitter_results_output.csv, --output /yourpath/twitter_results_output.csv
                        当使用-f批量查询的时候,可以指定一个导出路径