enable debug dump

This commit is contained in:
Lukáš Kucharczyk 2021-03-18 18:16:22 +01:00
parent 8835c0f919
commit 7952dd37d4
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 2 additions and 2 deletions

View File

@ -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: