docs: def get_book_links(links):
      """
      Go thru `links` to categories and return list to all publications in all
      given categories.
  
      Args:
          links (list): List of strings (absolute links to categories).
  
      Returns:
          list: List of strings / absolute links to book details.
      """
      book_links = []
  
      for link in links:
          data = DOWNER.download(link + "1")
          dom = dhtmlparser.parseString(data)
  
          book_links.extend(_parse_book_links(dom))
  
          max_page = _get_max_page(dom)
          if max_page == 1:
              continue
  
          for i in range(max_page - 1):
              data = DOWNER.download(link + str(i + 2))
  
              book_links.extend(
                  _parse_book_links(
                      dhtmlparser.parseString(data)
                  )
              )
  
      return book_links