Comments (6)
Hi jeromegit,
I can‘t reproduce the error you encountered. So far as I understand your error appears during registration process?
Please try this:
import audible
username = "your-email-for-amazon-login"
password = "your-password"
locale = "your country code (de, fr, ...)"
auth = audible.LoginAuthenticator(username, password, locale)
auth.to_file("geromegit.json", encryption=False)
This should register a new device and save the registration object to geromegit.json in script folder.
from audible.
Can you write me the steps you are done, please? You can write me a pm on reddit also (https://www.reddit.com/user/mkb79)!
from audible.
@jeromegit
Can you check your message on reddit please!
from audible.
As you suggested, this did the trick to me.
I'm all set.
`
import audible
EMAIL = "xxx"
PASSWORD = "yyy"
SESSION_FILE_NAME = "session.json"
locale = audible.localization.Locale('us')
login = audible.login.login(
EMAIL,
PASSWORD,
domain=locale.domain,
countryCode=locale.countryCode,
marketPlaceId=locale.marketPlaceId
)
access_token = login["access_token"]
print(access_token)
profile = audible.auth.user_profile(access_token, locale.domain)
print(profile)
`
from audible.
Okay, this means you are able to get a access_token
after a successful authentication.
This can be shorten to:
import audible
username = "your-email-for-amazon-login"
password = "your-password"
locale = "your country code (de, fr, ...)"
auth = audible.LoginAuthenticator(
username, password, locale, register=False)
access_token = auth.access_token
Your problems seams to be appears at registration (get adp_token, device_cert, etc.).
Can you try to register a device with above code and set register=True
from audible.
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
- `valid_mail` regex is too strict HOT 3
- 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.