mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Ignore OPDS links with unknown rel values.
This commit is contained in:
@@ -329,7 +329,7 @@ function OPDSBrowser:genItemTableFromURL(item_url, base_url)
|
||||
item.acquisitions = {}
|
||||
if entry.link then
|
||||
for i, link in ipairs(entry.link) do
|
||||
if link.type:find(self.catalog_type) then
|
||||
if link.type:find(self.catalog_type) and not link.rel then
|
||||
item.url = build_href(link.href)
|
||||
end
|
||||
if link.rel and link.rel:match(self.acquisition_rel) then
|
||||
|
||||
Reference in New Issue
Block a user