shpider-0.0.3: Web automation library in Haskell.Source codeContentsIndex
This module provides all the settable options in shpider.
stayOnDomain :: Bool -> Shpider ()
setStartPage :: String -> Shpider ()
getStartPage :: Shpider String
onlyDownloadHtml :: Bool -> Shpider ()
setCurrentPage :: Page -> Shpider ()
getCurrentPage :: Shpider Page
keepTrack :: Shpider ()
stayOnDomain :: Bool -> Shpider ()Source
Setting this to True will forbid you to download and sendForm to any site which isn't on the domain shared by the url given in setStartPage.
setStartPage :: String -> Shpider ()Source
Set the start page of your shpidering antics. The start page must be an absolute URL, if not, this will raise an error.
getStartPage :: Shpider StringSource
Return the starting URL, as set by setStartPage
onlyDownloadHtml :: Bool -> Shpider ()Source
If onlyDownloadHtml is True, then during download, shpider will make a HEAD request to see if the content type is text/html or application/xhtml+xml, and only if it is, then it will make a GET request.
setCurrentPage :: Page -> Shpider ()Source
Set the given page as the currentPage.
getCurrentPage :: Shpider PageSource
Return the current page
keepTrack :: Shpider ()Source
When keepTrack is set, shpider will remember the pages which have been visited.
Produced by Haddock version 2.4.2