一键保存视频/图片
Credit:
https://greasyfork.org/en/scripts/423001-twitter-media-downloader/discussions/296626
I tried a few times to figure out which changes are necessary.
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
THX,it's OK
又可以用了,非常感谢!
修改完成后可以使用了,非常感谢!
非常感谢
十分感谢.可以使用了. 这个问题困扰我了 很久
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;