blob: ab1b0cafef0715548b26e396f687c18790acd578 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module Parser.Detail
( parseDetail
) where
import Text.HTML.TagSoup
import Model.Detail
import Parser.Utils
parseDetail :: String -> Detail
parseDetail page =
let tags = parseTags page
description = getTagText "<div class=content>" tags
in Detail { description = description }
|