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:
calvin 2002-08-02 11:12:58 +00:00
parent 4186169edf
commit a0b5ad1bc1

View file

@ -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())