Greasy Fork 支持简体中文。

Twitter/X Media Batch Downloader

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

作者
afkarxyz
今日安裝
0
安裝總數
148
評價
2 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.
  • If too many media files are fetched, it will trigger a rate limit, and the media retrieval will fail.
  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 X.com Auth Token Grabber
  6. Do not log out of your account, as a new auth_token will be generated by Twitter

X.com Auth Token Grabber

image

Developer Tools

image