mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-11 10:00:58 +00:00
log and cache invalid syntax urls
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1488 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
e3af24186b
commit
605cd63c7d
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ class Consumer (object):
|
|||
# check syntax
|
||||
if not url_data.check_syntax():
|
||||
# wrong syntax, do not check any further
|
||||
self.logger_new_url(url_data)
|
||||
self.cache.url_data_cache_add(url_data)
|
||||
return
|
||||
# check the cache
|
||||
if self.cache.check_cache(url_data):
|
||||
|
|
|
|||
Loading…
Reference in a new issue