Compare commits

...

2 Commits

Author SHA1 Message Date
Lukáš Kucharczyk 7952dd37d4
enable debug dump 2021-03-18 18:16:22 +01:00
Lukáš Kucharczyk 8835c0f919
add gitignore 2021-03-18 18:16:08 +01:00
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.cache

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: