【问题标题】:how to get Full text using Tweepy如何使用 Tweepy 获取全文
【发布时间】:2017-12-11 23:12:36
【问题描述】:

我是 python 新手,我正在使用 This 脚本来获取推文。但问题是它没有给出完整的文本。而是给了我推文的 URL。

输出 '

"text": "@Damien85901071 @Loic_23 @EdwinZeTwiter @Christo33332 @lequipedusoir @Cristiano @RealMadrid_FR @realfrance_fr\u2026 'ShortenURL",

我需要在此脚本中进行哪些更改才能获得全文?

【问题讨论】:

    标签: python-3.x api twitter tweepy


    【解决方案1】:

    查看Twitter's tweet_mode=extended option 以及 Python 代码中您可能需要将其添加到脚本中的位置。

    【讨论】:

      猜你喜欢
      • 2019-04-09
      • 2019-05-06
      • 2019-02-25
      • 2020-09-02
      • 2019-03-06
      • 1970-01-01
      • 2016-01-07
      • 2016-08-11
      • 2022-10-05
      相关资源
      最近更新 更多