scrappy-core-0.1.0.1: html pattern matching library and high-level interface concurrent requests lib for webscraping
Safe HaskellSafe-Inferred
LanguageHaskell2010

Scrappy.Types

Synopsis

Documentation

mapMaybe :: forall a b s u (m :: Type -> Type). (a -> Maybe b) -> ParsecT s u m a -> ParsecT s u m b Source #

data ScrapeFail Source #

Constructors

Eof 
NonMatch 

Instances

Instances details
Show ScrapeFail Source # 
Instance details

Defined in Scrappy.Types

type Html = String Source #

Note: both elemParser and treeElemParser are capable of doing greedy or non-greedy matching treeElemParser (unless its really slow) should be better for non-greedy/focused elemParser should be better for greedy

data Processor a b = Processor ThreadId { runFunc :: (a -> b) }