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-07-01 16:42:58 | 44.96 | 90% |
8 | 2013-06-13 14:21:34 | 45.53 | 87% |
5 | 2013-06-13 14:14:00 | 49.75 | 90% |
2 | 2013-06-13 10:23:18 | 44.91 | 89% |