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 |
---|---|---|---|
25 | 2012-09-20 04:16:34 | 40.86 | 88% |
11 | 2011-05-01 17:08:06 | 37.14 | |
9 | 2011-04-30 00:58:45 | 32.74 | |
1 | 2011-01-29 03:07:54 | 22.99 |