Fix match_regexps and filter_regexps

This commit is contained in:
Kovid Goyal 2007-12-04 21:13:14 +00:00
parent 981e64c968
commit 3ae1612c8b

View File

@ -207,6 +207,9 @@ class RecursiveFetcher(object):
if not self.is_link_ok(iurl): if not self.is_link_ok(iurl):
self.logger.debug('Skipping invalid link: %s', iurl) self.logger.debug('Skipping invalid link: %s', iurl)
return None return None
if not self.is_link_wanted(iurl):
self.logger.debug('Filtered link: '+iurl)
return None
return iurl return iurl
def normurl(self, url): def normurl(self, url):