开发者

F# html parsing

开发者 https://www.devze.com 2023-01-23 17:01 出处:网络
What other options currently exist for parsing html in F#? Currently have some regular expressions but would prefer something like Pythons Beautiful Soup http://www.crumm开发者_运维百科y.com/software/

What other options currently exist for parsing html in F#? Currently have some regular expressions but would prefer something like Pythons Beautiful Soup http://www.crumm开发者_运维百科y.com/software/BeautifulSoup/ or be able to using an api similar to jQuery from F#.

I have seen the fslex and fparsec but I'm not sure if someone else has already built some html parsing library with these or I would have to write my own.


I have not tried using this (from F# or otherwise) but the Html Agility Pack seems to be the preferred solution for .NET.

What is the best way to parse html in C#?


Today there is an F# Data library that has an Html Parser and ability of Html CSS Selectors (same as jQuery selectors). Also library has Html Type Provider.

0

精彩评论

暂无评论...
验证码 换一张
取 消