Comments (6)
I had the same issue some times ago. The problem goes away as I logged in some days later.
You can go around with a captcha callback like this:
import audible
def captcha_callback(captcha_url: str) -> str:
print("Please open the captcha url in a webbrowser of your choice.")
print(captcha_url)
guess = input("Answer for CAPTCHA: ")
return str(guess).strip().lower()
auth = audible.Authenticator.from_login(..., captcha_callback=captcha_callback)
Or you can use the external login with:
import audible
auth = audible.Authenticator.from_login_external(locale="LOCALE_CODE")
from audible.
Thanks for the quick response, @mkb79 !
The external login didn't work for me. When I tried to copy the (long) URL as prompted, maybe because it was too long but pressing Enter didn't work; the script wouldn't take the URL.
I removed the external login code and all of a sudden, the captcha started to work again.
I'm all good now.
from audible.
Your issue with the external login seams the same as in issue-32.
It‘s good to hear that your captcha issue is gone away. I can advise you to register a Audible device with my package. So you don’t need to login ever again.
from audible.
If you are interested in using the external login you can read here! The problem seams to be Mac OS related. You can try to import readline module. Maybe this solves the issue. If it helps please report to me so I can post the solution to issue-32.
from audible.
Hi @mkb79
Sorry for the late response.
Adding the readline module did the trick for me.
Thanks!
from audible.
@jeromegit Thank you for this very useful information!
from audible.
Related Issues (20)
- 错误提示 HOT 19
- Quality is set to `Extreme` even set to `high` HOT 1
- TEST: New device registration method HOT 4
- Extract Audible Bookmark Notes HOT 3
- Issue getting activation bytes from auth server HOT 9
- Switch to poetry, implement CI+CD, remove Python version <3.8
- Lift upper version restriction on `httpx`. HOT 3
- Is there any way to get a list of books in a series? HOT 1
- Amazon authentication code not handled properly HOT 2
- I need some help with metadata HOT 2
- Audible brazil HOT 11
- Brazil Account Can not login by external_login HOT 3
- RecursionError introduced in 0.9.0 in some cases HOT 3
- API doc: Only High and Normal is allowed as quality
- encryptedPwd HOT 5
- How does the BestSellers sort_by option in the APIs work? HOT 3
- Where does the file get stored with to_file() HOT 5
- Can't filter plus catalog books from 'catalog/products' HOT 9
- state token for library requests HOT 2
- response_callback no longer works properly with the endpoint: https://cde-ta-g7g.amazon.com/FionaCDEServiceEngine/sidecar HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audible.