htmlparser icon indicating copy to clipboard operation
htmlparser copied to clipboard

delphi html parser(代码是改自原wr960204的HtmlParser)

Results 2 htmlparser issues
Sort by recently updated
recently updated
newest added

Sorry, this code doesn't extract all links from html source: procedure Test(html); var LHtml: IHtmlElement; LList: IHtmlElementList; begin LHtml := ParserHTML(html); if LHtml nil then begin LList := LHtml.SimpleCSSSelector('a'); for...

Hello. ![bds_2018-11-25_19-40-39](https://user-images.githubusercontent.com/2736539/48982351-0b748800-f0ea-11e8-9ddf-dbce31058db7.png) ![bds_2018-11-25_19-42-34](https://user-images.githubusercontent.com/2736539/48982376-44146180-f0ea-11e8-80d4-72bc92c44034.png) Uses: ``` function getOtherData(const resultPage: string): string; var elements: IHtmlElementList; begin try elements := ParserHTML(resultPage).Find('#page_info_wrap .page_name'); except end; try if (Assigned(elements)) and (elements.Count > 0) then SetJSONValue(Result,...