mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-30 23:00:21 -04:00
...
This commit is contained in:
parent
7256c5c920
commit
495293b3f5
@ -669,7 +669,7 @@ class BasicNewsRecipe(Recipe):
|
||||
except Exception:
|
||||
self.log.error('Failed to parse url: %r, ignoring' % url)
|
||||
return frozenset()
|
||||
return frozenset([(parts.netloc, parts.path)])
|
||||
return frozenset([(parts.netloc, (parts.path or '').rstrip('/'))])
|
||||
|
||||
def index_to_soup(self, url_or_raw, raw=False, as_tree=False):
|
||||
'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user