mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-04 04:44:42 +00:00
ignore other meta contents
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@492 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
4186169edf
commit
a0b5ad1bc1
1 changed files with 3 additions and 0 deletions
|
|
@ -504,6 +504,9 @@ class UrlData:
|
|||
metamatch = _refresh_re.match(url)
|
||||
if metamatch:
|
||||
url = metamatch.group("url")
|
||||
else:
|
||||
# ignore other contents (not for refresh)
|
||||
continue
|
||||
# need to resolve HTML entities
|
||||
url = StringUtil.unhtmlify(url)
|
||||
lineno= StringUtil.getLineNumber(self.getContent(), match.start())
|
||||
|
|
|
|||
Loading…
Reference in a new issue