刮擦4Y+的工作方法列表列表; 2022年用户的历史Twitter推文

发布于 2025-01-20 08:34:29 字数 1325 浏览 4 评论 0 原文

Twitter似乎对API和WebApp进行了许多更改,因此过去曾经起作用的许多方法不再起作用。

截至今天(2022年4月),哪种方法可以从特定用户删除至少过去4年以上的历史推文?

It seems Twitter made lots of changes to API and Webapp so many methods that used to work in the past do not work anymore.

Which method does work as of today (April 2022) to scrape historical tweets from specific users at least the last 4+ years?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

病女 2025-01-27 08:34:29

有一个基于python的库,名为 twint 。这是Twitter Public API的非官方SDK。您不需要Twitter开发人员帐户或任何访问令牌。

twint 可以帮助您获得以前的推文和一些高级控件。

如果您在Twitter上有大量推文的限制,请尝试将搜索分解为较小的块。
像, 10-10-2021 to 17-10-2021 (每两周)

我有一个示例github repo。 link

希望,这会有所帮助!

There is a python based library named twint. It's an un-official sdk for twitter public API. you won't require twitter developer account or any access token.

Twint can help you in getting previous tweets and with some advanced controls.

If you feel some rate restriction from twitter for a large number of tweets, try breaking your search into smaller chunks.
Like, 10-10-2021 to 17-10-2021 (bi-weekly)

I have a sample github repo for that. Link

Hopefully, this can help!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文