Closed ChenhaoranY closed 7 months ago
python 版本?用 3.10 试试
已经重新安装3.10 的python。目前遇到的是这个问题。 我参考了ERROR - 404 Client Error: Not Found for url: https://www.amazon.cn/error 目前尝试重置密码后还是不行。
(a1) D:\ychr_code\git_software\Kindle_download_helper>python no_kindle.py -e ${xxx@berkeley.edu} -p ${xxx} --jp
Authenticating . . .
{"response": {"challenge": {"challenge_reason": "InvalidAuthenticationData", "uri": "https://www.amazon.co.jp/ap/challenge?arb=8b8c0126-e289-4f51-b780-18a05a76763d", "required_authentication_method": "GenericClaimPassword"}}, "request_id": "355c10376445435f817eac25aaf719d0"}
Could not retrieve auth tokens
Traceback (most recent call last):
File "D:\ychr_code\git_software\Kindle_download_helper\no_kindle.py", line 5, in <module>
no_main()
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_cli.py", line 126, in no_main
nk.make_library()
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_kindle.py", line 167, in make_library
r = self.session.send(
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_kindle.py", line 45, in new_send
return old_send(*args, **kwargs)
File "D:\ProgramData\Anaconda3\envs\a1\lib\site-packages\requests\sessions.py", line 684, in send
kwargs["proxies"] = resolve_proxies(request, self.proxies, self.trust_env)
File "D:\ProgramData\Anaconda3\envs\a1\lib\site-packages\requests\utils.py", line 874, in resolve_proxies
url = request.url
AttributeError: 'NoneType' object has no attribute 'url'
(a1) D:\ychr_code\git_software\Kindle_download_helper>python no_kindle.py -e ${xxx@berkeley.edu} -p ${xxx} --jp
Authenticating . . .
{"response": {"challenge": {"challenge_reason": "InvalidAuthenticationData", "uri": "https://www.amazon.co.jp/ap/challenge?arb=9d39fb25-e1e4-4992-ab5b-cfb28d32aaa4", "required_authentication_method": "GenericClaimPassword"}}, "request_id": "75d07de9adac4b9f9aadc0247150b42d"}
Could not retrieve auth tokens
Traceback (most recent call last):
File "D:\ychr_code\git_software\Kindle_download_helper\no_kindle.py", line 5, in <module>
no_main()
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_cli.py", line 126, in no_main
nk.make_library()
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_kindle.py", line 167, in make_library
r = self.session.send(
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_kindle.py", line 45, in new_send
return old_send(*args, **kwargs)
File "D:\ProgramData\Anaconda3\envs\a1\lib\site-packages\requests\sessions.py", line 684, in send
kwargs["proxies"] = resolve_proxies(request, self.proxies, self.trust_env)
File "D:\ProgramData\Anaconda3\envs\a1\lib\site-packages\requests\utils.py", line 874, in resolve_proxies
url = request.url
AttributeError: 'NoneType' object has no attribute 'url'
(a1) D:\ychr_code\git_software\Kindle_download_helper>rm .tokens .device_id
'rm' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
(a1) D:\ychr_code\git_software\Kindle_download_helper>del .tokens .device_id
(a1) D:\ychr_code\git_software\Kindle_download_helper>python no_kindle.py -e ${xxx@berkeley.edu} -p ${xxx} --jp
Authenticating . . .
{"response": {"challenge": {"challenge_reason": "InvalidAuthenticationData", "uri": "https://www.amazon.co.jp/ap/challenge?arb=f6e8d069-e659-469d-9817-9978f367717c", "required_authentication_method": "GenericClaimPassword"}}, "request_id": "131691e22b36465aa37e8617d1a07ccf"}
Could not retrieve auth tokens
Traceback (most recent call last):
File "D:\ychr_code\git_software\Kindle_download_helper\no_kindle.py", line 5, in <module>
no_main()
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_cli.py", line 126, in no_main
nk.make_library()
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_kindle.py", line 167, in make_library
r = self.session.send(
File "D:\ychr_code\git_software\Kindle_download_helper\kindle_download_helper\no_kindle.py", line 45, in new_send
return old_send(*args, **kwargs)
File "D:\ProgramData\Anaconda3\envs\a1\lib\site-packages\requests\sessions.py", line 684, in send
kwargs["proxies"] = resolve_proxies(request, self.proxies, self.trust_env)
File "D:\ProgramData\Anaconda3\envs\a1\lib\site-packages\requests\utils.py", line 874, in resolve_proxies
url = request.url
AttributeError: 'NoneType' object has no attribute 'url'
重制密码不行,里面有个安全的你点进去然后会让你输入密码,你再试试如果不行就是进入风控了,很难了
@ChenhaoranY FYI @VermiIIi0n 这个朋友日亚成功了,不知道有啥解决方案没 https://github.com/yihong0618/Kindle_download_helper/pull/158
好的,看看这个老哥有没有什么办法。看他的主页,他跟我想干的事情挺像的
氦抱歉陈兄,我可能帮不上忙,我当时没遇到啥鉴权阻碍,你有试过日本代理吗?最好是原生IP的。
我现在在美国,国内的VPN都用不了。我找找看怎么使用日本ip。非常感谢。 看了你的主页,感觉项目很棒!
我在美亚买了本书,还是遇到这个问题。。。。 有点奇怪。。。。 我都怀疑是不是我账号密码输错了
是的 -饿后面没有 ${} 这个只放账号密码,这个的意思是变量
大哥……你是我的神!!!我是傻瓜o(╥﹏╥)o 成功下载了!不管是美亚还是日亚! 非常感谢您的指导! 这个warning应该是没关系的吧? 以及这个图片会因为解码被压缩是吗?
大哥……你是我的神!!!我是傻瓜o(╥﹏╥)o 成功下载了!不管是美亚还是日亚! 非常感谢您的指导! 这个warning应该是没关系的吧? 以及这个图片会因为解码被压缩是吗?
warning 来自上游,你可以忽略。
fix 了谢谢