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 |
---|---|---|---|
22 | 2011-09-05 02:58:39 | 63.47 | 91% |
20 | 2011-09-05 02:56:47 | 58.23 | 88% |
18 | 2011-09-05 02:54:15 | 56.57 | 93% |
7 | 2011-09-05 02:41:54 | 51.28 | 89% |