mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-01 19:34:43 +00:00
Fix robotstxt cache miss stats.
This commit is contained in:
parent
f6b007f757
commit
fba465e8e8
1 changed files with 1 additions and 1 deletions
2
linkcheck/cache/robots_txt.py
vendored
2
linkcheck/cache/robots_txt.py
vendored
|
|
@ -47,7 +47,7 @@ class RobotsTxt (object):
|
|||
self.hits += 1
|
||||
rp = self.cache[roboturl]
|
||||
else:
|
||||
self.misses = 1
|
||||
self.misses += 1
|
||||
rp = robotparser2.RobotFileParser(proxy=proxy, user=user,
|
||||
password=password)
|
||||
rp.set_url(roboturl)
|
||||
|
|
|
|||
Loading…
Reference in a new issue