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 |
|---|---|---|---|
| 4 | 2015-06-04 16:02:45 | 61.39 | 92% |
| 1 | 2012-10-06 09:00:35 | 60.42 | 95% |