encode the book in the search url