Compare commits
2 Commits
bf65cc41e7
...
7952dd37d4
Author | SHA1 | Date | |
---|---|---|---|
7952dd37d4 | |||
8835c0f919 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.cache
|
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:
|
||||||
|
Reference in New Issue
Block a user