Getting the reading list from this subreddit

root

* Geting askhistorians reading list
[[https://github.com/alexDarcy/askhistorians/actions/workflows/stack.yaml/badge.svg]]

We want to list all books from reddit's r/askhistorians reading list in CSV format. The code documentation is split into 3 modules, each documented in details: https://alexdarcy.github.io/askhistorians/.

A complete example is:
#+begin_src haskell
module Main where

import Goodreads
import MAM

goodreads = getShelves >> mergeShelves
mam =  do
  searchMAM >> mergeSearchResults
  curation >> merge >> printHTML

main = goodreads >> mama
#+end_src

Each step is explained in the corresponding documentation:
- [[https://alexdarcy.github.io/askhistorians/Goodreads.html][Getting the list on Goodreads]]
- [[https://alexdarcy.github.io/askhistorians/MAM.html][Searching it on MAM]]


** For reference
~reddit~ contains Haskell code for downloading using reddit