mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get Books: Fix free samples being detected as independent books when searching OPDS based stores such as Feedbooks. Fixes #1672500 [Failed: Downloading](https://bugs.launchpad.net/calibre/+bug/1672500)
This commit is contained in:
parent
df31c71db3
commit
75ac68f7c7
@ -59,6 +59,8 @@ def open_search(url, query, max_results=10, timeout=60):
|
||||
s.cover_url = href
|
||||
elif 'http://opds-spec.org/acquisition/buy' in rel:
|
||||
s.detail_item = href
|
||||
elif 'http://opds-spec.org/acquisition/sample' in rel:
|
||||
pass
|
||||
elif 'http://opds-spec.org/acquisition' in rel:
|
||||
if type:
|
||||
ext = guess_extension(type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user