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 |
---|---|---|---|
24 | 2023-04-19 11:09:58 | 31.41 | 94% |
10 | 2023-04-16 18:02:05 | 30.87 | 95% |
6 | 2023-04-16 17:54:21 | 27.08 | 94% |