spotify2am icon indicating copy to clipboard operation
spotify2am copied to clipboard

For insert-songs.py to work, it is also necessary to change User-Agent header

Open Lotarik opened this issue 10 years ago • 3 comments

Without that, the service kept returning 401 error. Of course, the User-Agent needs to be copied from intercepted request, just like with other headers.

Lotarik avatar Jul 02 '15 22:07 Lotarik

Can you post a sampling of user-agent strings here? If they are consistent, it may be possible to update the script, I imagine.

TheDigitalOrchard avatar Jul 05 '15 22:07 TheDigitalOrchard

Strings for both my laptop and desktop are the same, since they run on same OS:

iTunes/12.2 (Windows; Microsoft Windows 8 x64 Enterprise Edition (Build 9200); x64) AppleWebKit/7600.5017.0.22

I don't think there is a reliable way to update the script to somehow automatically determine the correct user-agent.

Lotarik avatar Jul 06 '15 07:07 Lotarik

Hi!

Thx for the great work, but i get an error trying to run "retrieve-identifiers.py"

~/Desktop/spotify2am-master/retrieve-identifiers.py:3: ImportError: No module named parse

Richard Thygesson Head of Premises & Domestic Service  0706361081 [email protected] mailto:[email protected]

6 jul 2015 kl. 09:31 skrev Nikola Anusev [email protected]:

Strings for both my laptop and desktop are the same, since they run on same OS:

iTunes/12.2 (Windows; Microsoft Windows 8 x64 Enterprise Edition (Build 9200); x64) AppleWebKit/7600.5017.0.22

I don't think there is a reliable way to update the script to somehow automatically determine the correct user-agent.

— Reply to this email directly or view it on GitHub https://github.com/simonschellaert/spotify2am/issues/5#issuecomment-118756413.

bavan999 avatar Jul 06 '15 09:07 bavan999