Skip to content

Latest commit

 

History

History
 
 

twitter抓取

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

twitter抓取

  • 获取指定用户名发的推文
  • 保存到txt
  • 支持时间过滤
  • 支持用户配置

config.py说明

user_path='conf/user.txt' #存放着要抓的用户名的txt
proxy = '127.0.0.1:1080' #代理设置
proxies = {
    'http': 'http://' + proxy,
    'https': 'https://' + proxy
}
cookie='' #你的cookie
times='' #时间过滤,如果不想设置请留空,times=''

user.txt示例:

demonsec666
AmarSaar
WBGlIl
KitPloit
evilcos
HackwithGithub

截图

程序运行图:

save.txt图: