From: Oleg Broytman Date: Mon, 20 Nov 2023 16:21:22 +0000 (+0300) Subject: Fix(parse_html CLI): Report encodings and the title X-Git-Tag: 5.0.0~8 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ead79e4438ca8a2b5d7f7211945c1fcb653f2c64;p=bookmarks_db.git Fix(parse_html CLI): Report encodings and the title --- diff --git a/parse_html/__main__.py b/parse_html/__main__.py index 98b6104..8e070b4 100644 --- a/parse_html/__main__.py +++ b/parse_html/__main__.py @@ -29,8 +29,11 @@ def main(): parser = parse_filename(filename, charset, log=lambda s: sys.stdout.write(s + '\n')) - print(" refresh:", parser.refresh) - print(" icon :", parser.icon) + print(" charset :", parser.charset) + print(" meta_charset:", parser.meta_charset) + print(" title :", parser.title) + print(" refresh :", parser.refresh) + print(" icon :", parser.icon) if __name__ == '__main__':