X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Robots%2Fparse_html_htmlparser.py;h=351fc749c9941d4532d48b6720139fdb634fbd46;hb=1a001aafb9fefdbc003ee5ce49ca19d4f4f7e3ec;hp=df37f752d86a3a55b7057b5357daf57e1c8efbe6;hpb=0e76f1851882b99da63a7c8a9e4cdf0c4a48657f;p=bookmarks_db.git diff --git a/Robots/parse_html_htmlparser.py b/Robots/parse_html_htmlparser.py index df37f75..351fc74 100644 --- a/Robots/parse_html_htmlparser.py +++ b/Robots/parse_html_htmlparser.py @@ -90,4 +90,7 @@ def parse_html(filename, charset=None, log=None): except (HTMLParseError, HTMLHeadDone): pass + if parser.title is None: + return None + return parser