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 |
---|---|---|---|
20 | 2011-12-11 21:05:53 | 44.78 | 98% |
14 | 2011-12-11 15:00:22 | 39.26 | 93% |
9 | 2011-12-11 12:33:12 | 34.14 | 95% |
3 | 2011-06-19 20:08:12 | 36.88 | 91% |