forked from elginer/shpider
-
Notifications
You must be signed in to change notification settings - Fork 7
/
shpider.cabal
60 lines (57 loc) · 1.88 KB
/
shpider.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Name: shpider
Version: 0.2.2.0
Synopsis: Web automation library in Haskell.
Description:
Shpider is a web automation library for Haskell. It allows you to quickly
write crawlers, and for simple cases ( like following links ) even without
reading the page source.
.
It has useful features such as turning relative links from a page into
absolute links, options to authorize transactions only on a given domain,
and the option to only download html documents.
.
It also provides a nice syntax for filling out forms.
.
An example:
.
> runShpider $ do
> download "http://apage.com"
> theForm : _ <- getFormsByAction "http://anotherpage.com"
> sendForm $ fillOutForm theForm $ pairs $ do
> "occupation" =: "unemployed Haskell programmer"
> "location" =: "mother's house"
.
Category: Web
License: BSD3
License-file: LICENSE
Author: Johnny Morrice <[email protected]>, Ozgun Ataman
Maintainer: Ozgun Ataman <[email protected]>
Homepage: http://github.com/ozataman/shpider
Build-type: Simple
Cabal-version: >= 1.2.0
Extra-source-files:
Library
Build-depends:
base < 5
, regex-posix
, curl
, directory >= 1.0
, filepath >= 1.2 && < 1.4
, tagsoup-parsec >= 0.0.8
, url>=2
, containers
, tagsoup
, mtl
, time
, bytestring
, transformers
, web-encodings
Exposed-modules: Network.Shpider.URL
Network.Shpider.Code
Network.Shpider.State
Network.Shpider.Options
Network.Shpider.Links
Network.Shpider.Forms
Network.Shpider.Pairs
Network.Shpider
Other-modules: Network.Shpider.TextUtils