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

Unable to find appConfig #25

Closed
loretoparisi opened this issue Aug 8, 2019 · 2 comments
Closed

Unable to find appConfig #25

loretoparisi opened this issue Aug 8, 2019 · 2 comments

Comments

@loretoparisi
Copy link

For some reasons, there is this error raised by

if app_config is None:
                raise Exception(
                    "Unable to find appConfig in {}".format(r.content))
@TTSS000
Copy link

TTSS000 commented Aug 31, 2019

Hello.
I'm using Amazon Japan but I hope this applies to all over the world of Amazon.
It seems Amazon changed the format of response body.
So, in amazonmusic.py, I changed some codes.

  • step1
    Find the line
    if 'amznMusic.appConfig = ' in line:
    and change to
    if 'applicationContextConfiguration = ' in line:

  • step 2
    add the line shown here at just a line below the line modified step1
    line = re.sub(r' var applicationContextConfiguration = ', '',line)

Then, I encounter the issue of the second authentication. But it seems I was able to solve it by exporting cookies from my Chrome browser.

I hope this helps.

@loretoparisi
Copy link
Author

@TTSS000 it worked thanks 🥇

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

2 participants