This commit is contained in:
2026-07-20 16:15:58 -07:00
parent a156700e6e
commit 7f12bc7f40
6 changed files with 217 additions and 7 deletions
+8 -1
View File
@@ -612,6 +612,13 @@ class OpenLibrary(Provider):
TABLE_AUTO_STAGES = {
"openlibrary.edition": ["download-file"],
}
QUERY_ARG_CHOICES = {
"quality": ["high", "medium", "low"],
"language": [
"english", "spanish", "french", "german", "italian",
"portuguese", "polish", "russian", "chinese", "japanese",
],
}
@classmethod
def config_schema(cls) -> List[Dict[str, Any]]:
@@ -1175,7 +1182,7 @@ class OpenLibrary(Provider):
Returns a dict with the downloaded path and SearchResult when successful.
"""
self,
sr = self.search_result_from_url(url)
if sr is None:
return None