only find redirection links with http-equiv='refresh'

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2428 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-03-11 23:47:45 +00:00
parent 87e2b25414
commit 0baec73a77

View file

@ -173,6 +173,10 @@ class LinkFinder (TagFinder):
for attr in tagattrs:
if attr not in attrs:
continue
if tag == "meta":
refresh = attrs.get('http-equiv', u'').lower()
if refresh != 'refresh':
continue
# name of this link
name = self.get_link_name(tag, attrs, attr)
# possible codebase