The haskell-fake-user-agent package

[Tags:library, public-domain]

[Skip to Readme]

Properties

Versions 0.0.1, 0.0.2
Dependencies base (>=4.8 && <5), bytestring, lens, tagsoup, wreq [details]
License PublicDomain
Author grzegorzgoldapl
Maintainer contact@grzegorzgolda.com
Category Web
Uploaded Wed Jun 15 09:18:25 UTC 2016 by grzegorzgolda
Updated Mon Jun 20 04:19:52 UTC 2016 by grzegorzgolda to revision 1
Distributions NixOS:0.0.2
Downloads 143 total (18 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-11-23 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for haskell-fake-user-agent

Readme for haskell-fake-user-agent-0.0.2

FAKE USER AGENT STRING

Very simple library downloading current user agent strings from http://useragentstring.com

HOW TO USE

getBrowserStrings :: String -> IO [String]

returns a list of user agent strings for a given browser, where browser may be "Chrome", "Firefox", etc. (see http://useragentstring.com for the list of browsers)

getLatestBrowserString :: String -> IO String

returns a head of the above list