Re: [PyQt] Last.fm call fails with QNetworkAccessManager

2012-01-07 Thread Doogster
Of course, I figured it out just half an hour after giving up and asking for help. The problem was that the URL was percent-encoded, so I needed use QUrl.fromEncoded(url_string) and not QUrl(url_string). On Sat, Jan 7, 2012 at 2:09 PM, Doogster wrote: > Could you please tell me why a GET request

[PyQt] Last.fm call fails with QNetworkAccessManager

2012-01-07 Thread Doogster
Could you please tell me why a GET request to a last.fm web service URL returns a different result whether I call it from a browser or from a QNetworkAccessManager? A specific example would be the following URL: http://ws.audioscrobbler.com/2.0/?album=American+IV%3A+The+Man+Comes+Around&format=js