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 python | |
import pprint | |
from HTMLParser import HTMLParser | |
from urllib2 import urlopen | |
class Spider(HTMLParser): | |
line = [] | |
output = [] |
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 python | |
from sys import argv,exit | |
def list_strip(list): | |
new_list = [] | |
for line in list: | |
if not line.strip(): | |
continue | |
else: |
NewerOlder