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 |
---|---|---|---|
7 | 2018-09-03 18:02:37 | 49.63 | 96% |
3 | 2017-06-26 23:18:38 | 41.98 | 94% |
1 | 2017-06-26 23:14:57 | 42.41 | 95% |