MCPcopy Index your code
hub / github.com/afkarxyz/Twitter-X-Media-Batch-Downloader

github.com/afkarxyz/Twitter-X-Media-Batch-Downloader @v4.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.8 ↗ · + Follow
805 symbols 1,825 edges 73 files 1 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Twitter/X Media Batch Downloader

A GUI tool to download original-quality images and videos from Twitter/X accounts.

Windows macOS Linux

Download

Image

  • If you're familiar with userscripts, install it here

  • To install the Chrome extension version, click here

  • Also available on the web at MediaBatchDL.com

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
  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

image

Extension points exported contracts — how you extend this code

Position (Interface)
(no doc)
frontend/wailsjs/runtime/runtime.d.ts
Thumb (Interface)
(no doc)
frontend/src/types/api.ts
ProgressCallback (FuncType)
(no doc)
backend/download.go
Size (Interface)
(no doc)
frontend/wailsjs/runtime/runtime.d.ts
AccountInfo (Interface)
(no doc)
frontend/src/types/api.ts
ItemStatusCallback (FuncType)
(no doc)
backend/download.go
Screen (Interface)
(no doc)
frontend/wailsjs/runtime/runtime.d.ts
TimelineEntry (Interface)
(no doc)
frontend/src/types/api.ts

Core symbols most depended-on inside this repo

error
called by 107
frontend/src/lib/logger.ts
cn
called by 60
frontend/src/lib/utils.ts
info
called by 48
frontend/src/lib/logger.ts
getSettings
called by 46
frontend/src/lib/settings.ts
success
called by 34
frontend/src/lib/logger.ts
createTheme
called by 18
frontend/src/lib/themes.ts
formatNumberWithComma
called by 17
frontend/src/components/DatabaseView.tsx
warning
called by 17
frontend/src/lib/logger.ts

Shape

Function 570
Method 92
Interface 59
Struct 51
Class 30
FuncType 2
TypeAlias 1

Languages

TypeScript65%
Go35%

Modules by API surface

frontend/wailsjs/runtime/runtime.js67 symbols
app.go60 symbols
frontend/wailsjs/go/models.ts53 symbols
backend/twitter.go46 symbols
frontend/wailsjs/go/main/App.js42 symbols
frontend/src/lib/settings.ts40 symbols
frontend/src/components/MediaList.tsx35 symbols
frontend/src/App.tsx35 symbols
backend/download.go33 symbols
backend/extractor.go31 symbols
frontend/src/components/DatabaseView.tsx27 symbols
backend/database.go27 symbols

For agents

$ claude mcp add Twitter-X-Media-Batch-Downloader \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page