Skip to content

Commit 1e7ebe7

Browse files
feat(twitter): rewrite download profile path on GraphQL UserMedia with cursor pagination (#1636)
* fix(twitter): harden profile media download * fix(twitter): fail closed on repeated media cursor --------- Co-authored-by: jackwener <jakevingoo@gmail.com>
1 parent 7e44e71 commit 1e7ebe7

5 files changed

Lines changed: 911 additions & 91 deletions

File tree

cli-manifest.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23040,7 +23040,7 @@
2304023040
{
2304123041
"site": "twitter",
2304223042
"name": "download",
23043-
"description": "Download Twitter/X media (images and videos). Provide either <username> to scan a profile's media tab, or --tweet-url to download a single tweet.",
23043+
"description": "Download Twitter/X media (images and videos). Provide either <username> to fetch every media item from their profile via the GraphQL UserMedia endpoint with cursor pagination, or --tweet-url to download a single tweet.",
2304423044
"access": "read",
2304523045
"domain": "x.com",
2304623046
"strategy": "cookie",
@@ -23051,7 +23051,7 @@
2305123051
"type": "str",
2305223052
"required": false,
2305323053
"positional": true,
23054-
"help": "Twitter username (with or without @) to scan their /media tab. Either <username> or --tweet-url is required."
23054+
"help": "Twitter username (with or without @) to scan their profile media. Either <username> or --tweet-url is required."
2305523055
},
2305623056
{
2305723057
"name": "tweet-url",
@@ -23076,6 +23076,8 @@
2307623076
],
2307723077
"columns": [
2307823078
"index",
23079+
"tweet_id",
23080+
"url",
2307923081
"type",
2308023082
"status",
2308123083
"size"

0 commit comments

Comments
 (0)