Qt(C+++) Data reading from the web page



  • Like, Qt Can some information be read from the website? What classes do you need to connect, I'd like to see an example code. References to the materials on this topic will also be helpful.

    How it is possible to consider information that is not available html code, e.g. http://steamcommunity.com/market/listings/730/Chroma%202%20Case%20Key : When a courseor is set on schedule, there are numbers, how can these numbers be considered?



  • Qt contains QtWebKit, a component that operates a browser with support from JS. So your job is to study the violin operation of the pages by, for example, FireBug, and then call those js-methods through WebKit.

    Challenge js:

    QWebView::page()->mainFrame()->evaluateJavaScript( "some_js_function()" );
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2