Removes code duplication
Removes code duplication

internetarchive/bookreader,openlibrary/bookreader,openlibrary/bookreader,openlibrary/bookreader,openlibrary/bookreader,openlibrary/bookreader,internetarchive/bookreader