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 |
---|---|---|---|
17 | 2016-05-19 17:14:40 | 47.37 | 93% |
9 | 2016-05-19 17:02:49 | 38.44 | 99% |
4 | 2016-05-13 02:59:32 | 38.00 | 92% |