updated extraction of books from html, books were being skipped