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 |
---|---|---|---|
32 | 2019-12-05 18:08:36 | 118.07 | 98% |
21 | 2018-11-21 22:40:09 | 116.95 | 99% |
7 | 2018-10-31 20:06:31 | 105.51 | 98% |