Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/python
- import requests
- import re
- page = requests.get('http://sherdog.com')
- ans = re.findall('http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+', page.text)
- for each in ans:
- print each
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement