h-booru-0.3.0.0: Haskell library for retrieving data from various booru image sites

Copyright(c) Mateusz Kowalczyk 2013-2014
LicenseGPL-3
Maintainerfuuzetsu@fuuzetsu.co.uk
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010
Extensions
  • MonoLocalBinds
  • TypeFamilies
  • DataKinds
  • MultiParamTypeClasses
  • UnicodeSyntax
  • KindSignatures
  • ExplicitNamespaces

HBooru.Parsers.Konachan

Description

Module for parsing content from Konachan.

Synopsis

Documentation

data Konachan Source

We use this type and its Site instance to distinguish between various parsers.

Constructors

Konachan 

type KonachanPost = PR `["actual_preview_height", "actual_preview_width", "author", "change", "created_at", "file_size", "file_url", "frames", "frames_pending", "frames_pending_string", "frames_string", "has_children", "height", "id", "is_held", "is_shown_in_index", "jpeg_file_size", "jpeg_height", "jpeg_url", "jpeg_width", "md5", "preview_height", "preview_url", "preview_width", "rating", "sample_file_size", "sample_height", "sample_url", "sample_width", "score", "source", "status", "tags", "width"]` Source

Konachan post record

parsePost :: (Functor (cat XmlTree), ArrowXml cat) => cat XmlTree KonachanPost Source

Parser arrow used for Konachan.