From 7952dd37d432905fb130f7b7db211dbc24ea2a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 18 Mar 2021 18:16:22 +0100 Subject: [PATCH] enable debug dump --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 4ac6884..0681be5 100644 --- a/main.py +++ b/main.py @@ -27,8 +27,8 @@ if __name__ == '__main__': s = BeautifulSoup(content, features='html.parser') - # if args.debug: - # print(s.prettify()) + if args.debug: + print(s.prettify()) links = s.find_all(href=re.compile(args.filter)) if not links or links == 0: