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 |
---|---|---|---|
10 | 2021-07-10 01:43:35 | 51.45 | 95% |
4 | 2017-10-08 01:05:56 | 34.64 | 92% |
2 | 2017-10-08 00:58:31 | 36.83 | 94% |