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 | 2013-12-14 19:45:06 | 37.48 | 93% |
19 | 2012-12-17 12:59:27 | 35.14 | 90% |
13 | 2012-12-17 12:50:30 | 34.37 | 89% |
6 | 2012-12-17 12:40:19 | 44.58 | 96% |