Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data GalleryInfo = GalleryInfo {
- title :: Text
- previewLink :: Text
- category :: GalleryCat
- jaTitle :: Text
- uploader :: Text
- rating :: Float
- ratingCount :: Int
- favoriteCount :: Int
- tags :: [(TagCategory, [Text])]
- uploadTime :: UTCTime
- newer :: Maybe Gallery
- parent :: Maybe Gallery
- visibility :: Visibility
- language :: Text
- length :: Int
- archiverLink :: Text
- data Visibility
- fetchGalleryInfo :: MonadHttpState m => Gallery -> m GalleryInfo
- parseGallery :: Document -> Maybe GalleryInfo
Documentation
data GalleryInfo Source #
Information about a gallery
GalleryInfo | |
|
Instances
data Visibility Source #
Instances
fetchGalleryInfo :: MonadHttpState m => Gallery -> m GalleryInfo Source #
Fetch a gallery's GalleryInfo
parseGallery :: Document -> Maybe GalleryInfo Source #
Extract all gallery informations from a document