This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# dependencies: pip install requests bs4 iocextract | |
# usage: python wwwextract.py URL | |
import sys | |
import requests | |
import bs4 | |
import iocextract | |
response = requests.get(sys.argv[1]) |
OlderNewer