无api访问twitter数据库的python包
tweet的Python项目详细描述
高音
twitter的api使用起来很烦人,而且有很多限制。tweety使用python和selenium清除所有tweets—没有api速率限制。没有限制。非常快。
Source | Link |
---|---|
PyPI: | https://pypi.org/project/tweety/ |
Repository: | https://santhoshse7en.github.io/tweety/ |
Documentation: | https://santhoshse7en.github.io/tweety_doc/ |
average tweets
似乎您可以可靠地请求最多25页的tweets(大约1200条tweets)
依赖关系
- 美化组4
- 硒
- Chromedriver二进制
- 虚情假意
- textblob
- 熊猫
依赖项安装
使用包管理器pip安装以下内容
pip install -r requirements.txt
用法
点击github上的绿色下载按钮下载。您只需要解析特定于参数的twitter关键字。
>>>fromtwitter.tweetyimporttweets>>>tweety=tweets('Super Deluxe')
tweety目录
输出
>>>print("Polarity Scores"+" : "+str(tweety.final_sentiment_scores))
贡献
欢迎拉取请求。对于重大变更,请先打开一个问题来讨论您希望更改的内容。
请确保根据需要更新测试。