-
Notifications
You must be signed in to change notification settings - Fork 216
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
python no_kindle.py -e ${email} -p ${password} is not working. #129
Comments
is it a amazon.cn account? |
if it is amazon.com |
yes, it is |
unset your http_proxy and try again unset http_proxy |
I tried it, and it works the same. Authenticating . . .
{"response": {"challenge": {"challenge_reason": "HandleOnWebView", "uri": "https://www.amazon.cn/ap/challenge?arb=x"}}, "request_id": "x"}
Could not retrieve auth tokens
Traceback (most recent call last):
File "/Users/sawyer/Desktop/repo/Kindle_download_helper/no_kindle.py", line 5, in <module>
no_main()
File "/Users/sawyer/Desktop/repo/Kindle_download_helper/kindle_download_helper/no_cli.py", line 94, in no_main
nk.make_library()
File "/Users/sawyer/Desktop/repo/Kindle_download_helper/kindle_download_helper/no_kindle.py", line 153, in make_library
r = self.session.send(
File "/Users/sawyer/Desktop/repo/Kindle_download_helper/kindle_download_helper/no_kindle.py", line 40, in new_send
return old_send(*args, **kwargs)
File "/Users/sawyer/Library/Python/3.9/lib/python/site-packages/requests/sessions.py", line 684, in send
kwargs["proxies"] = resolve_proxies(request, self.proxies, self.trust_env)
File "/Users/sawyer/Library/Python/3.9/lib/python/site-packages/requests/utils.py", line 874, in resolve_proxies
url = request.url
AttributeError: 'NoneType' object has no attribute 'url'
|
interesting will dig into it p.s. you can use the cookie way if you have a kindle |
Sure, I just verified my email and password again by pasting the values from my terminal, then I login www.amazon.cn successfully. |
so all things are fine? |
No, Login manually in the web is fine, however the no_kindle.py command is still not working. |
This could be due to the fact that you have enabled 2-step authentication. In order to use the script, I recommend temporarily disabling it. Once that's done, you should be able to download books. However, I suggest making some revisions to the " |
thanks for helping, but I did not enable the 2 - step authentication for my account, just checked my account configuration. |
thanks for the info. |
for the same args PR welcome^_^ |
I have a similar issue: no proxies, no 2 steps authentication |
The scripts work almost fine after I updated the Python version to 3.10. |
It worked perfectly for me with Python 3.11.3. No proxy, no 2-step verification. Many thanks and great job @yihong0618 ! |
I got this, any ideas?
|
|
Hi, I try the no_kindle.py, I checked my account setting, no 2FA on it. kndle.py --cn , It can list the books, but can't download them. |
Hey, thanks for creating this nice tool, but I got some problem using it.
Python version: Python 3.9.6
My ${email} and ${password} is correct, tested by myself.
After I do this:
python no_kindle.py -e ${email} -p ${password} is not working.
I got this error msg below, little help plz.
The text was updated successfully, but these errors were encountered: