Compare commits
2 Commits
bf65cc41e7
...
7952dd37d4
Author | SHA1 | Date |
---|---|---|
Lukáš Kucharczyk | 7952dd37d4 | |
Lukáš Kucharczyk | 8835c0f919 |
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue