HTML
Contents
type HTML = TagTree Text Source #
data Selector Source #
Constructors
matchSelector :: Selector -> TagTree Text -> Bool Source #
at :: Text -> Parser bc (TagTree Text) a -> Parser bc (TagTree Text) a Source #
textOf :: TagTree a -> Maybe a Source #
text :: Parser bc (TagTree a) (Maybe a) Source #
getText :: Parser bc (TagTree Text) Text Source #
example :: TagTree Text Source #
chroot :: Selector -> Parser bc HTML a -> Parser bc HTML a Source #
chroots :: Selector -> Parser bc HTML a -> Parser bc HTML [a] Source #
texts :: Parser bc HTML [Text] Source #
texts' :: Selector -> Parser bc HTML [Text] Source #
isText :: HTML -> Bool Source #
textNoScript :: Parser (Set Text) HTML [Text] Source #
getTag :: HTML -> [Text] Source #
main :: IO () Source #
Methods
getChildren :: TagTree t -> [TagTree t] Source #