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 | 2016-04-03 21:32:11 | 37.67 | 91% |
14 | 2016-04-03 14:48:24 | 29.99 | 91% |
7 | 2016-04-03 14:36:46 | 37.35 | 93% |