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 | 2014-05-27 15:07:07 | 56.69 | 96% |
18 | 2014-05-27 14:51:05 | 56.54 | 94% |
9 | 2011-08-18 00:31:30 | 44.78 | 89% |