Scrape multiple urls using QWebPage
问题 I'm using Qt's QWebPage to render a page that uses javascript to update its content dynamically - so a library that just downloads a static version of the page (such as urllib2) won't work. My problem is, when I render a second page, about 99% of the time the program just crashes. At other times, it will work three times before crashing. I've also gotten a few segfaults, but it is all very random. My guess is the object I'm using to render isn't getting deleted properly, so trying to reuse it