Twitter/X Media Batch Downloader is a GUI tool that allows users to download all media, including images and videos, in their original quality from Twitter/X accounts, even withheld account, using
gallery-dl
- Download the latest version of TwitterXMediaBatchDownloader
- If you're familiar with userscripts, please install it here
- Powered by
gallery-dl
, similar toyt-dlp
- Supports downloading from Withheld Accounts
- Choose media type: All (Image + GIF + Video) or specific (Image/GIF/Video)
- Downloads in original quality
Important
- It is highly recommended to use the local
gallery-dl
(by unchecking "Use API"). Use the API only for withheld accounts, as it has a 60-second timeout limit. - Use Batch if the items to be downloaded are in the thousands.
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.
- Go to Twitter's website
- Log into your account
- Open the Developer Tools by pressing
F12
- Navigate to the Application tab, then select Storage > Cookies
- Find and copy the
auth_token
value or use the browser extension X.com Auth Token Grabber - Do not log out of your account, as a new
auth_token
will be generated by Twitter
X.com Auth Token Grabber
Developer Tools