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 |
---|---|---|---|
12 | 2011-05-15 09:08:59 | 44.44 | 92% |
9 | 2011-05-15 06:18:38 | 43.76 | 94% |
5 | 2011-05-15 06:10:03 | 46.78 | 91% |
2 | 2011-05-15 06:01:29 | 38.23 | 87% |
1 | 2010-12-31 09:58:13 | 32.59 |