enable debug dump
This commit is contained in:
parent
8835c0f919
commit
7952dd37d4
4
main.py
4
main.py
|
@ -27,8 +27,8 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
s = BeautifulSoup(content, features='html.parser')
|
s = BeautifulSoup(content, features='html.parser')
|
||||||
|
|
||||||
# if args.debug:
|
if args.debug:
|
||||||
# print(s.prettify())
|
print(s.prettify())
|
||||||
|
|
||||||
links = s.find_all(href=re.compile(args.filter))
|
links = s.find_all(href=re.compile(args.filter))
|
||||||
if not links or links == 0:
|
if not links or links == 0:
|
||||||
|
|
Loading…
Reference in New Issue