[![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 for downloading all media, including images and videos, from Twitter/X accounts, using `gallery-dl` and requiring `cookies.` ## Download - Download the latest version of [TwitterXMediaBatchDownloader](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v1.0/gallery-dl.exe) and [gallery-dl](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v1.0/gallery-dl.exe) - Check for **gallery-dl** updates [here](https://github.com/mikf/gallery-dl/releases) - Ensure that `gallery-dl` is in the same directory ## Screenshots ![image](https://github.com/user-attachments/assets/6401f71b-328f-4f57-950c-3300c2bd2939) ![image](https://github.com/user-attachments/assets/a9ff0e34-892e-4538-9ea3-63fa0c222be4) ![image](https://github.com/user-attachments/assets/f5c0933b-6a3e-463f-9170-c11f85610853) ## How to obtain Auth Token 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 6. Do not log out of your account, as a new `auth_token` will be generated by Twitter 7. Close your browser ![image](https://github.com/user-attachments/assets/50f819da-7490-4f3c-b130-c5a3ee482e2d)