Continuing from the Scraping webpages with Python and QWebElement post here is the second in this series where finally a real search happens.
#!/usr/bin/python # These lines will get us the modules we need. from PyQt4.QtCore import QUrl, SIGNAL from PyQt4.QtGui import QApplication from PyQt4.QtWebKit import QWebPage, QWebView import pprint class Scrape(QApplication): def __init__(self): # Apparently there are a number of versions of this init and PyQT