Created
March 30, 2019 00:19
-
-
Save MagnificentPako/8b551d982bb5b140c4fe16be1605e35b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extractContent = concat | |
. map (++ "\n") | |
. filter ((> 1) . length) | |
. map (cleanString) | |
. map (innerText) | |
. map (return) | |
. takeWhile (~/= TagOpen "" [("class", "bold uppercase text-center")]) | |
. dropWhile (~/= TagOpen "div" [("class", "chapter-inner chapter-content")]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment