Popularity
6.0
Growing
Activity
0.0
Stable
10
3
3

Code Quality Rank: L2
Monthly Downloads: 74
Programming language: C
License: BSD 3-clause "New" or "Revised" License
Tags: Network     Download    
Latest version: v0.3.2.7

download alternatives and similar packages

Based on the "Network" category.
Alternatively, view download alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of download or a related project?

Add another 'Network' Package

README

download

Build Status

Download web content as strict bytestring, strings, HTML tags, XML, RSS or Atom feeds or JSON, via HTTP, FTP or file protocols, using a URL interface.

Using the library:

Importing the library:

import Network.Download

Loading a webpage as a ByteString:

doc  <- openURI "http://google.com"

Loading from a file:

doc  <- openURI "file:///tmp/A.hs"

Loading a HTML page as a list of tags:

tags <- openAsTags "http://google.com"

Loading a HTML page as XML:

tags <- openAsXML "http://google.com"

Loading an RSS or Atom feed:

feed <- openAsFeed "http://google.com"

These data types can the be processed further with the XML, Feed and TagSoup libraries.