mirror of
https://github.com/denizsafak/abogen.git
synced 2026-09-20 19:50:59 +02:00
feat: Enhance OPDS browser with navigation link handling and update UI for Calibre catalog
This commit is contained in:
@@ -320,7 +320,8 @@ class CalibreOPDSClient:
|
||||
mime = (link.type or "").lower()
|
||||
if mime in _EPUB_MIME_TYPES:
|
||||
return link
|
||||
return iterable[0] if iterable else None
|
||||
# No valid acquisition-style link exposed
|
||||
return None
|
||||
|
||||
|
||||
def feed_to_dict(feed: OPDSFeed) -> Dict[str, Any]:
|
||||
|
||||
Reference in New Issue
Block a user