class URLLister(SGMLParser): def reset(self): SGMLParser.reset(self) self.urls = [] def start_a(self, attrs): href = [v for k, v in attrs if k=='href'] if href: self.urls.extend(href)
Game | Time | WPM | Accuracy |
---|---|---|---|
47 | 2012-01-09 14:50:38 | 34.61 | 91% |
46 | 2011-12-26 19:59:30 | 29.61 | 92% |
40 | 2011-12-26 19:48:27 | 31.73 | 91% |