[![GitHub All Releases](https://img.shields.io/github/downloads/afkarxyz/Twitter-X-Media-Batch-Downloader/total?style=for-the-badge)](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases) ![TwitterXMediaBatchDownloader](https://github.com/user-attachments/assets/354d7470-c01c-4aa6-9da1-ea6c42d27330)
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**](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v3.5/TwitterXMediaBatchDownloader_Windows.exe) - [**Linux**](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v3.5/TwitterXMediaBatchDownloader_Linux) - [**Mac**](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v3.5/TwitterXMediaBatchDownloader_Mac.app.zip) - If you're familiar with **userscripts**, please install it [**here**](https://greasyfork.org/en/scripts/523157) ## ✨ Features - Powered by `gallery-dl`, similar to `yt-dlp` - **Bulk fetch**: Fetch multiple accounts at once - **Bulk download**: Download multiple accounts 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 ![image](https://github.com/user-attachments/assets/bae739f3-c6be-415f-8e9b-18cceae659f6) ![image](https://github.com/user-attachments/assets/a03ca334-779d-47d6-82dd-2edba28f5b76) ### The downloaded application won't run❓ 🐧 **Solution (Ubuntu/Linux)**: Open your terminal and run: ```bash chmod +x TwitterXMediaBatchDownloader_Linux ``` https://github.com/user-attachments/assets/cc7400ec-76dd-4519-848d-71a834b7ec95 🍎 **Solution (macOS)**: Open your terminal and run: ```bash xattr -rd com.apple.quarantine ~/Downloads/TwitterXMediaBatchDownloader_Mac.app ``` https://github.com/user-attachments/assets/4b13c0b9-cf3a-48ce-ac35-a19007189ac8 ## 🔑 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](https://www.patreon.com/posts/how-to-obtain-127206894) 1. Go to [Twitter's website](https://www.x.com/) 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](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v1.0/X.com.Auth.Token.Grabber.zip) 6. Do not log out of your account, as a new `auth_token` will be generated by Twitter > X.com Auth Token Grabber ![image](https://github.com/user-attachments/assets/4bf5f787-d34f-4259-837c-07a6432c4360) > Developer Tools ![image](https://github.com/user-attachments/assets/8e81dd8f-f8be-4254-9cf6-cacfa97743e9)