Skip to content

Commit bcac3ff

Browse files
committed
add solution for 0009
1 parent 1de3f91 commit bcac3ff

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎horx/0009/run.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env python3
2+
3+
import re
4+
import requests
5+
6+
r = requests.get('https://github.com')
7+
matches = re.findall('(?:https?|ftp)://[^\s/$\.?#].[^\s]+', r.text)
8+
9+
for i in range(0, len(matches)):
10+
print('matche >>>: {} \n'.format(matches[i]))

0 commit comments

Comments
 (0)