mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix match_regexps and filter_regexps
This commit is contained in:
parent
981e64c968
commit
3ae1612c8b
@ -207,6 +207,9 @@ class RecursiveFetcher(object):
|
||||
if not self.is_link_ok(iurl):
|
||||
self.logger.debug('Skipping invalid link: %s', iurl)
|
||||
return None
|
||||
if not self.is_link_wanted(iurl):
|
||||
self.logger.debug('Filtered link: '+iurl)
|
||||
return None
|
||||
return iurl
|
||||
|
||||
def normurl(self, url):
|
||||
|
Loading…
x
Reference in New Issue
Block a user