Last active
March 10, 2024 02:01
Star
You must be signed in to star a gist
批量从亚马逊中国区下载kindle上购买的电子书
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var curIndex = -1; | |
function callbackDown(){ | |
if(curIndex >=0) $('input.hideItem_myx')[curIndex].click(); | |
curIndex++; | |
$('input.hideItem_myx')[curIndex].click(); | |
$('ul button.myx-button-text')[curIndex].click(); | |
//触发下载popup | |
setTimeout(function(){$('.myx-popover-inner .transcludedContent_myx .contentDetails_myx #contentAction_download_myx').trigger('click');},1000); | |
setTimeout(function(){$('.dialog_myx .myx-button-primary').trigger('click');},2000); | |
if(curIndex < $('input.hideItem_myx').length) setTimeout(callbackDown,3000); | |
} | |
callbackDown(); |
一本都没下成功,,,,不知道啥原因
404:1 GET https://www.amazon.cn/404 404 (Not Found)
失效了吗?
失效了吗?
应该是失效了,我也用不了 TAT
估计失效了
VM515:6 Uncaught TypeError: Cannot read properties of null (reading '0')
at callbackDown (:6:25)
at :13:1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
非常感谢,删除样章后顺利下载。