Greasy Fork镜像 is available in English.
Save Video/Photo by One-Click.
< Opiniones de Twitter/X Media Downloader
Credit:
https://greasyforks.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://greasyforks.org/en/scripts/495368-twitter-x-media-downloader/discussions/296641
THX,it's OK
又可以用了,非常感谢!
修改完成后可以使用了,非常感谢!
非常感谢
十分感谢.可以使用了. 这个问题困扰我了 很久
Thank you very much, you saved my life!
有没有详细一点的,整不明白是替换还是直接该
改了后有点问题,下多了还是会转圈,不知道啥情况,放着过几个小时又能下了
有没有详细一点的,整不明白是替换还是直接该
原来的代码前面加// (也就是注释掉),然后加他的代码
不懂你就拿代码片段去问ai吧
It works! But I've noticed now it downloads much less quantity of photos/videos in queue, before it was able to get like 120 files to download but now it just take 20 and the rest just get the "waitingt" blue circle gif without downloading anything, then we need to wait like 10 minutes and it will be able to download stuff again
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;