[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] urllib2 replacement in PyQt
From:       detlev <detlev () die-offenbachs ! de>
Date:       2010-06-30 17:39:45
Message-ID: 201006301939.45747.detlev () die-offenbachs ! de
[Download RAW message or body]

On Dienstag, 29. Juni 2010, 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?

QHttp or in newer versions QNetworkAccessManager will do the job.


Regards,
Detlev
-- 
Detlev Offenbach
detlev@die-offenbachs.de
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic