mirror of
https://github.com/Alvin-Zilverstand/Twitter-X-Media-Batch-Downloader.git
synced 2026-11-21 13:53:13 +01:00
66 lines
4.2 KiB
Markdown
66 lines
4.2 KiB
Markdown
<div align="left">
|
|
<h1>Twitter/X Media Batch Downloader</h1>
|
|
<p>
|
|
Downloads original-quality images and videos from Twitter/X accounts.
|
|
</p>
|
|
<p>
|
|
<a href="https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/stargazers"><img
|
|
src="https://img.shields.io/github/stars/afkarxyz/Twitter-X-Media-Batch-Downloader?color=ffcb47&labelColor=black&logo=github&label=Stars" /></a><a
|
|
href="https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases"><img
|
|
src="https://img.shields.io/github/downloads/afkarxyz/Twitter-X-Media-Batch-Downloader/total?color=22c55e&labelColor=black&logo=github&label=Downloads" /></a><a
|
|
href="https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/latest"><img
|
|
src="https://img.shields.io/github/v/release/afkarxyz/Twitter-X-Media-Batch-Downloader?color=8b5cf6&labelColor=black&logo=github&label=Latest%20Release" /></a><a href="https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/latest"><img
|
|
src="https://img.shields.io/badge/Windows-369eff?labelColor=black&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB2aWV3Qm94PSIwIDAgMjAgMjAiPjxwYXRoIGZpbGw9IiNmZmZmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTIwIDEwLjg3M1YyMEw4LjQ3OSAxOC41MzdsLjAwMS03LjY2NEgyMFptLTEzLjEyIDBsLS4wMDEgNy40NjFMMCAxNy40NjF2LTYuNTg4aDYuODhaTTIwIDkuMjczSDguNDhsLS4wMDEtNy44MUwyMCAwdjkuMjczWk02Ljg3OSAxLjY2NmwuMDAxIDcuNjA3SDBWMi41MzlsNi44NzktLjg3M1oiLz48L3N2Zz4=" /></a><a
|
|
href="https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/latest"><img
|
|
src="https://img.shields.io/badge/macOS-FFFFFF?labelColor=black&logo=apple&logoColor=white" /></a><a
|
|
href="https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/latest"><img
|
|
src="https://img.shields.io/badge/Linux-FCC624?labelColor=black&logo=linux&logoColor=white" /></a>
|
|
<br />
|
|
<br />
|
|
<a href="https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/latest" target="_blank"><img
|
|
src="https://github.com/user-attachments/assets/e95586cb-35ce-4ef7-a6ce-a5a18ebf3b29" alt="Dark"
|
|
width="49%" /></a>
|
|
<a href="https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/latest" target="_blank"><img
|
|
src="https://github.com/user-attachments/assets/7581ca58-9e15-4dd9-ae45-14c2b8f3f9d6" alt="Light"
|
|
width="49%" /></a>
|
|
</p>
|
|
</div>
|
|
|
|
### [Download](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases)
|
|
|
|
- If you're familiar with userscripts, install it [**here**](https://greasyfork.org/en/scripts/523157)
|
|
|
|
- To install the Chrome extension version, click [**here**](https://chromewebstore.google.com/detail/cboceolmgkoobpfjiojkigmihijfgmdo)
|
|
|
|
- Also available on the web at [**TwitterDL.app**](https://twitterdl.app)
|
|
|
|
## Fetch pacing
|
|
|
|
Settings includes separate **Fetch Delay** controls: a base delay and a random
|
|
extra from zero to the configured value, in seconds. Both default to zero
|
|
(disabled). A suggested starting point is 5 seconds base plus up to 5 seconds
|
|
extra; this is not a guaranteed safe rate for Twitter/X.
|
|
|
|
The delay spaces out extractor starts across batches, accounts, resumes, retries,
|
|
and date-range fetches. The first fetch starts immediately. It does not control
|
|
requests made internally by the external extractor. Stop interrupts a pending
|
|
wait, and waiting counts toward Fetch Timeout, so increase the timeout when
|
|
using longer delays.
|
|
|
|
## 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.
|
|
|
|
1. Go to [Twitter's website](https://www.x.com/)
|
|
2. Log into your account
|
|
3. Open the Developer Tools by pressing <kbd>F12</kbd>
|
|
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
|
|
|
|

|