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 |
---|---|---|---|
28 | 2013-07-01 17:15:04 | 36.42 | 89% |
24 | 2012-12-01 03:28:54 | 44.87 | 96% |
18 | 2012-12-01 03:04:55 | 42.33 | 93% |