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-11-20 04:21:31 | 36.22 | 92% |
17 | 2013-11-09 06:49:58 | 38.96 | 88% |
13 | 2013-10-19 14:05:52 | 33.26 | 84% |
5 | 2013-10-15 20:46:07 | 34.64 | 88% |