简体   繁体   中英

F# html parsing

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.crummy.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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM