rename Summary-Everleaf to SummaryEverleaf, as I've discovered you can't import a module with a "-" in it's filename
This commit is contained in:
parent
1ecafb7f42
commit
629159c785
|
@ -169,7 +169,7 @@ class SummaryParser(htmllib.HTMLParser): # derive new HTML parser
|
||||||
|
|
||||||
class EverleafSummary:
|
class EverleafSummary:
|
||||||
def main(self):
|
def main(self):
|
||||||
file = urllib.urlopen("http://www.poker4ever.com/en.tournaments.tournament-statistics?tid=785119")
|
file = urllib.urlopen("http://www.poker4ever.com/en.tournaments.tournament-statistics?tid=817095")
|
||||||
parser = SummaryParser(formatter.NullFormatter())
|
parser = SummaryParser(formatter.NullFormatter())
|
||||||
parser.feed(file.read())
|
parser.feed(file.read())
|
||||||
print "site=",parser.SiteName, "tourneyname=", parser.TourneyName, "tourneyid=", parser.TourneyId
|
print "site=",parser.SiteName, "tourneyname=", parser.TourneyName, "tourneyid=", parser.TourneyId
|
Loading…
Reference in New Issue
Block a user