Comments (5)
Sorry for the problem, and the delay in replying. This could be possibly related to #19?
In the UK, going to https://music.amazon.com redirects to the appropriate site once logged in (in this case music.amazon.co.uk
).
Does that not happen for the Indian site?
from amazon-music.
Still unable to authenticate, here's how i'm trying to use and the error I got
from amazonmusic import AmazonMusic
import os
amazon_music = AmazonMusic(credentials=['****', '*****'])
station = amazon_music.create_station('A2FRGLRCG7IBYS')
print('Playing station {0}...'.format(station.name))
for t in station.tracks:
print('Playing {0} by {1} from {2} [{3}]...'.format(t.name, t.artist, t.album, t.albumArtist))
os.system('cvlc --play-and-exit "{0}"'.format(t.getUrl()))
Traceback (most recent call last):
File "/Users/user/PycharmProjects/AmazonMusic/getStationPlaylist.py", line 4, in <module>
amazon_music = AmazonMusic(credentials=['******, '********'])
File "/Users/user/PycharmProjects/AmazonMusic/amazonmusic.py", line 102, in __init__
r = self._authenticate(r)
File "/Users/user/PycharmProjects/AmazonMusic/amazonmusic.py", line 152, in _authenticate
raise Exception("Unable to handle captcha: {}".format(tag))
Exception: Unable to handle captcha: [<source data-refresh-url="/ap/captcha?appAction=SIGNIN&captchaType=audio&marketPlaceId=ATVPDKIKX0DER" id="mp3-file" src="https://opfcaptcha-prod.s3.amazonaws.com/9cd4424d1c1447c4b49bec52fa873634.jpg?AWSAccessKeyId=****&Expires=***&Signature=****%3D" type="audio/mpeg"/>]
from amazon-music.
Still unable to authenticate
Is that with changing the URL to music.amazon.in
? What happens when you go to music.amazon.com
in a browser and you sign in?
The Unable to handle captcha issue is #19.
from amazon-music.
Above error is when calling music.amazon.com
. A different error if I change the endpoint to music.amazon.in
Traceback (most recent call last):
File "/Users/users/PycharmProjects/AmazonMusic/getStationPlaylist.py", line 4, in <module>
amazon_music = AmazonMusic(credentials=['*******', '=['*******','])
File "/Users/users/PycharmProjects/AmazonMusic/amazonmusic.py", line 112, in __init__
raise Exception("Unable to find appConfig in {}".format(r.content))
Exception: Unable to find appConfig in b'\n\n\n\n
from amazon-music.
On browser, when you go to music.amazon.com
, it redirects to https://www.amazon.in/ap/signin
Once logged in, goes to music.amazon.in
from amazon-music.
Related Issues (20)
- Having trouble playing album HOT 3
- Trouble with VLC launch HOT 14
- Cannot get past captcha HOT 3
- Raspberry Jukebox playing Amazon music
- PlayAlbum Example not working HOT 1
- Support downloading tracks I've bought? HOT 1
- Unable to find appConfig HOT 2
- Error opening album if originalReleaseDate is of unexpected type
- Import playlists/tracks into Amazon Music?
- API out of date HOT 1
- error in AmazonMusic initialization HOT 1
- No longer working? HOT 1
- Not working
- 'Track' object has no attribute 'getUrl'
- raise Exception("Unable to find appConfig in {}".format(r.content)) HOT 2
- IndexError: list index out of range
- CONTENT_NOT_VALID HOT 1
- Can I search music with track name and artist name?
- Does this change anything? Amazon Music Device API preview HOT 2
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 amazon-music.