]> git.phdru.name Git - bookmarks_db.git/blobdiff - parse_html/bkmk_ph_htmlparser.py
Extract html redirect even if ther is no title
[bookmarks_db.git] / parse_html / bkmk_ph_htmlparser.py
index 5c0a440ff7fea80bba26b58a0e729b75df8567cc..8cdd240a06c7fb3514e79eb9df571dcf1b67279c 100644 (file)
@@ -93,7 +93,6 @@ def parse_html(filename, charset=None, log=None):
    except (HTMLParseError, HTMLHeadDone):
       pass
 
-   if parser.title is None:
+   if (parser.title is None) and (parser.refresh is None) and (parser.icon is None):
       return None
-
    return parser