The issue is caused by unhandled exception thrown for missing key "rights" in the info and book_info dictionaries when fetching book info.
This PR addresses above issue by replacing existing call to lookup the "rights" key to using the get method with default value set to empty string if the key is missing in the book info dictionary.
Similar replacements applied to other keys as well to prevent from missing key exception.
The issue is caused by unhandled exception thrown for missing key "rights" in the
info
andbook_info
dictionaries when fetching book info.This PR addresses above issue by replacing existing call to lookup the "rights" key to using the
get
method with default value set to empty string if the key is missing in the book info dictionary.Similar replacements applied to other keys as well to prevent from missing key exception.