请教一个问题,在自己的电脑上用c++编程可以对ie浏览器抓取网页内容,如何对chrome浏览器抓取网页呢? IHTMLDocument2 *pDoc2; pDoc2=(IHTMLDocument2*)(IUnknown*)web1->Document; if ( pDoc2==NULL) return NULL; IHTMLElement *body; wchar_t *txt,*htt; pDoc2->get_body(&body); // body->get_outerText(&txt); body->get_outerHTML(&htt);
10,608
社区成员
29,047
社区内容
加载中
试试用AI创作助手写篇文章吧