Data.Torrent.Scrape

torrent-10000.1.3: BitTorrent file parser and generater

Copyright | (c) Lemmih 2005
License | BSD-like
Maintainer | lemmih@gmail.com
Stability | experimental
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell2010

Data.Torrent.Scrape

Description

http://en.wikipedia.org/wiki/Tracker_scrape

# Documentation

data ScrapeInfo #

Constructors

ScrapeInfo |
Fields scrapeSeeds :: Integer scrapeLeechers :: Integer

#### Instances

Instances details

Read ScrapeInfo # |
Instance details Defined in Data.Torrent.Scrape Methods readsPrec :: Int -> ReadS ScrapeInfo # readList :: ReadS [ScrapeInfo] # readPrec :: ReadPrec ScrapeInfo # readListPrec :: ReadPrec [ScrapeInfo] #
Show ScrapeInfo # |
Instance details Defined in Data.Torrent.Scrape Methods showsPrec :: Int -> ScrapeInfo -> ShowS # show :: ScrapeInfo -> String # showList :: [ScrapeInfo] -> ShowS #

parseScrapeInfo :: ByteString -> Maybe ScrapeInfo #

scrapeUrl :: ByteString -> [String] -> Maybe String #