Problem loading a specific website through Qt Webkit

后端 未结 3 1953
一个人的身影
一个人的身影 2021-01-17 00:35

I am currently using the following PyQt code to create a simple browser:

import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit          


        
相关标签:
3条回答
  • 2021-01-17 00:59

    Try sending the Accept-Language header also, it then works for me.

    0 讨论(0)
  • 2021-01-17 01:09

    For some reason http://www.robeeez.com which I think redirects to rebeez.com DOES work. In some cases rebeez.com sends out a blank index.html page, dillo and wget also receive nothing as does the qt45 demo browser. So is it the browser or the way the site is set up??

    0 讨论(0)
  • 2021-01-17 01:17

    try arora (a very simple wrapping on top of QtWebKit); if it works, its your code. if it doesn't, its the website.

    0 讨论(0)
提交回复
热议问题