[PyQt] urllib2 replacement in PyQt

Robin Wittler real at the-real.org
Tue Jun 29 21:41:26 BST 2010


On 06/29/2010 09:53 PM, Jon Noble wrote:
> Hi, i'm having a real hard time with unicode and non-pyqt modules. The
> latest one I have is with urllib2. Take this url for example:
>
> http://www.albumart.org/?srchkey=Björk
> +Post&itempage=1&newsearch=1&searchindex=Music
>
> Urllib2 cannot handle the "ö" but browsers (including Eric IDE's
> helpviewer) can.
>
> This gets me thinking without using webview is there a way of retrieving
> an url's content via pyqt?
>

I have no problems with urllib2 getting content from this url.

cheers,
Robin



More information about the PyQt mailing list