Greasy Fork

Twitter 媒体下载

一键保存视频/图片

< 脚本Twitter 媒体下载的反馈

提问/评论

§
发表于:2025-04-27

Modifying these three parts of the code should make the script run properly again.
1. Around line 262
//let base_url = `https://${host}/i/api/graphql/NmCeCgkVlsRGS1cAwqtgmw/TweetDetail`;
let base_url = `https://${host}/i/api/graphql/2ICDjqPd81tulZcYrtpTuQ/TweetResultByRestId`;
2. Around line 265
//"focalTweetId":status_id,
"tweetId":status_id,
3. Around line 307
//let tweet_entrie = tweet_detail.data.threaded_conversation_with_injections_v2.instructions[0].entries.find(n => n.entryId == `tweet-${status_id}`);
//let tweet_result = tweet_entrie.content.itemContent.tweet_results.result;
let tweet_result = tweet_detail.data.tweetResult.result;

§
发表于:2025-04-27

Credit:
https://greasyfork.org/en/scripts/423001-twitter-media-downloader/discussions/296626
I tried a few times to figure out which changes are necessary.

§
发表于:2025-04-27

And thanks to Ronnie TW for the information shared in the following comment:
https://greasyfork.org/en/scripts/495368-twitter-x-media-downloader/discussions/296641

§
发表于:2025-04-28

THX,it's OK

§
发表于:2025-04-28

又可以用了,非常感谢!

§
发表于:2025-04-28

修改完成后可以使用了,非常感谢!

§
发表于:2025-04-28

非常感谢

§
发表于:2025-04-28

十分感谢.可以使用了. 这个问题困扰我了 很久

发表回复

登录以发表回复。