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 |
---|---|---|---|
12 | 2015-07-13 10:26:16 | 27.62 | 93% |
11 | 2015-07-12 22:06:27 | 39.35 | 90% |
7 | 2015-07-10 18:56:27 | 34.01 | 93% |
4 | 2015-07-10 16:17:49 | 40.70 | 92% |