update
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user