Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- extractTagsContent :: String -> [TagContent]
- findAttributes :: String -> [TagContent] -> [String]
- extractLinks :: String -> [CrawlAction]
- extractLinksMatching :: (String -> Bool) -> String -> [CrawlAction]
- extractLinksWithAttributes :: AttrFilter -> String -> [CrawlAction]
- extractLinksFilteringUrlAttrs :: (String -> Bool) -> AttrFilter -> String -> [CrawlAction]
- extractLinksFilteringAll :: (String -> Bool) -> AttrFilter -> ContainedTextFilter -> String -> [CrawlAction]
- unevaluated :: a -> Bool
- findAllUrlsEndingWith :: String -> String -> [CrawlAction]
- findFirstLinkAfter :: String -> [(String, String)] -> String -> [CrawlAction]
- extractFirstForm :: [String] -> String -> Maybe Method -> String -> String -> Maybe CrawlAction
- data Method
- noUrlFilter :: String -> Bool
- type AttrFilter = [(String, String)] -> Bool
- noAttrFilter :: AttrFilter
- type ContainedTextFilter = [String] -> Bool
- noTextFilter :: ContainedTextFilter
Documentation
extractTagsContent :: String -> [TagContent] Source
Content of the tags up to the first child tag (as simplification) - with attributes.
findAttributes :: String -> [TagContent] -> [String] Source
extractLinks :: String -> [CrawlAction] Source
extractLinksMatching :: (String -> Bool) -> String -> [CrawlAction] Source
extractLinksWithAttributes :: AttrFilter -> String -> [CrawlAction] Source
extractLinksFilteringUrlAttrs :: (String -> Bool) -> AttrFilter -> String -> [CrawlAction] Source
extractLinksFilteringAll :: (String -> Bool) -> AttrFilter -> ContainedTextFilter -> String -> [CrawlAction] Source
unevaluated :: a -> Bool Source
findAllUrlsEndingWith :: String -> String -> [CrawlAction] Source
findFirstLinkAfter :: String -> [(String, String)] -> String -> [CrawlAction] Source
extractFirstForm :: [String] -> String -> Maybe Method -> String -> String -> Maybe CrawlAction Source
noUrlFilter :: String -> Bool Source
type AttrFilter = [(String, String)] -> Bool Source
type ContainedTextFilter = [String] -> Bool Source