Closed nebuta closed 11 years ago
I think this is a good idea. Are there some selectors in particular that you're looking for?
:contains, :has, ~, :nth-child, :visible, etc. Also, some jQuery traversing methods such as nextAll(), parents(), etc should also be useful.
http://api.jquery.com/category/selectors/jquery-selector-extensions/
Thanks.
Ok, I will work on supporting CSS3. jQuery selectors might be a while.
Thanks, I will look into HXT and HandsomeSoup and find some applications (probably with server framework such as Yesod.)
Closing this, I don't see it happening anytime soon :/ If you send me a pull request, I'll merge it.
I am a Haskell beginner, and I liked HXT and HandsomeSoup very much. This is the only HTML library by Haskell I've found so far that has easy-to-use and powerful traversing functions.
I was wondering, is there any plan for you to implement CSS3 and/or jQuery selectors? If those are supported, I think this library can be a standard library for HTML scraping in Haskell.