Greasy Fork

Greasy Fork is available in English.

Twitter/X Media Batch Downloader

Batch download all images and videos from a Twitter/X account, including withheld accounts, in original quality.

当前为 2025-01-28 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
afkarxyz
评分
0 0 0
版本
2.5
创建于
2025-01-08
更新于
2025-01-28
大小
39.3 KB
许可证
MIT
适用于

Twitter/X Media Batch Downloader

Batch download all images and videos from a Twitter/X account, including withheld accounts, in original quality.

image

Note

  • For GIFs, the source format is .mp4, so it must be converted to .gif. You can use FFmpeg for this.

  • One of the greatest features of this script is its ability to download media from withheld accounts, as shown below.

chrome_goATSVCuKr

How to Obtain Auth Token

Warning

  • I suggest not using the main account to obtain the token.
  • You can use https://temp-mail.io to register a Twitter account.
  • Using an auth token or cookies has the potential to get the account suspended.
  1. Go to Twitter's website
  2. Log into your account
  3. Open the Developer Tools by pressing F12
  4. Navigate to the Application tab, then select Storage > Cookies
  5. Find and copy the auth_token value or use the browser extension Cookie-Editor
  6. Do not log out of your account, as a new auth_token will be generated by Twitter

image