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 |
---|---|---|---|
18 | 2013-01-21 05:39:23 | 83.55 | 75% |
11 | 2012-12-22 17:32:18 | 68.26 | 93% |
8 | 2012-12-21 04:59:02 | 68.84 | 96% |