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 | 2014-08-10 20:09:03 | 53.87 | 99% |
| 1 | 2014-08-10 20:04:42 | 52.92 | 97% |