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 |
---|---|---|---|
15 | 2023-06-13 10:27:42 | 20.36 | 97% |
14 | 2023-06-13 10:25:28 | 28.82 | 97% |
13 | 2023-06-13 10:23:44 | 22.87 | 95% |