mirror of
https://github.com/Alvin-Zilverstand/Twitter-X-Media-Batch-Downloader.git
synced 2026-11-21 13:53:13 +01:00
dd38880366efece58998650f1a237b47fb146c77
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 using
gallery-dl
📥 Download
- Windows: Download the latest version of TwitterXMediaBatchDownloader.exe
- Linux: Download the latest version of TwitterXMediaBatchDownloader
- If you're familiar with userscripts, please install it here
✨ Features
- Powered by
gallery-dl, similar toyt-dlp - Bulk download: Download multiple items at once
- Media-type selection: All (Images + GIFs + Videos) or specific (Images / GIFs / Videos)
- MP4 → GIF conversion: Convert downloaded MP4 videos into GIF format
- Downloads at original quality
🖼️ Screenshots
compiling from source
If you want to compile the application from source, you can follow these steps:
- Clone the repository:
git clone https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader.git
- Create a virtual environment and activate it:
python3 -m venv .venv
source .venv/bin/activate
- Install the dependencies:
pip install -r requirements.txt
- Run the application:
python TwitterXMediaBatchDownloader.py
- To create an executable, use pyinstaller:
pip install pyinstaller
pyinstaller --onefile --windowed --icon=Archived/icon.svg TwitterXMediaBatchDownloader.py
🔑 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 may trigger a rate limit, and the media retrieval will fail, try enabling Batch mode.
Video Tutorial
- 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_tokenvalue or use the browser extension X.com Auth Token Grabber - Do not log out of your account, as a new
auth_tokenwill be generated by Twitter
X.com Auth Token Grabber
Developer Tools
Description
Downloads original-quality images and videos from Twitter/X accounts.
1.9 MiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
74.1%
Go
21.9%
JavaScript
2.6%
CSS
1.2%
HTML
0.2%