Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

超过一万本书的书库,查询列表超过一万就报异常 #99

Open
WaterMoonMirror opened this issue Nov 18, 2022 · 10 comments
Open

Comments

@WaterMoonMirror
Copy link

超过一万本书的书库,查询列表超过一万就报异常,希望可以维护一下这个问题

@WaterMoonMirror
Copy link
Author

image

@yihong0618
Copy link
Owner

这个是你不断触发了亚马逊风控。
1w 本估计很难。

@WaterMoonMirror
Copy link
Author

直接从--resume-from 10000开始,也是报的这个错,这个是不是定义的存储对象放不下超过9999的大小

@yihong0618
Copy link
Owner

这个可能是 amazon 的风控问题了,我无法确定他们的风控规则,大概是。
这里和这个项目的代码无关,我可能会抽空看一下。

@WaterMoonMirror
Copy link
Author

好的

@tshemeng
Copy link

tshemeng commented Dec 9, 2022

@WaterMoonMirror 你clone源码,把kindle.py报错的items = result["OwnershipData"]["items"]改成如下代码,看下报错时,接口返回的信息

            try:
                items = result["OwnershipData"]["items"]
            except KeyError:
                logger.error(result)

@WaterMoonMirror
Copy link
Author

image
这是报错信息

@Stargazer2002
Copy link

请问楼主找到下载大量个人文档的方法了吗,我四千本书,也是获取完卡住

@yihong0618
Copy link
Owner

。。。你可以 200 本 200 本下,改下代码

@Stargazer2002
Copy link

python3 kindle.py ${csrfToken} --cookie ${cookie} --dedrm --pdoc --resume-from
请问怎么做第1到第200的截断?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants