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 |
---|---|---|---|
17 | 2012-02-05 22:20:52 | 40.52 | 94% |
10 | 2011-06-15 14:34:05 | 47.04 | 96% |
8 | 2011-06-15 14:31:47 | 43.17 | 96% |
2 | 2011-06-15 14:23:25 | 33.66 | 90% |