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 |
---|---|---|---|
21 | 2012-01-13 04:36:42 | 35.39 | 85% |
17 | 2012-01-13 04:26:53 | 42.84 | 91% |
11 | 2012-01-13 04:17:24 | 42.17 | 92% |
7 | 2012-01-13 03:25:41 | 41.57 | 95% |