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 |
---|---|---|---|
25 | 2016-08-24 04:32:35 | 43.63 | 94% |
8 | 2016-08-22 15:27:56 | 41.56 | 91% |
1 | 2016-08-22 00:16:18 | 32.86 | 87% |