Documentation
module Network.Shpider.Pairs
Plain old form: Method, action and inputs.
gatherForms :: [Tag String] -> [Form]Source
Gets all forms from a list of tags.
fillOutForm :: Form -> [(String, String)] -> FormSource
Takes a form and fills out the inputs with the given [ ( String , String ) ].
It is convienent to use the pairs
syntax here.
f : _ <-getFormsByAction
"http://whatever.com"sendForm
$fillOutForm
f $pairs
$ do "author" =: "Johnny" "message" =: "Nice syntax dewd."