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 |
---|---|---|---|
43 | 2012-04-21 05:57:34 | 86.92 | 97% |
15 | 2011-03-14 03:16:34 | 59.91 | |
9 | 2011-03-14 03:09:22 | 65.50 | |
5 | 2011-02-26 01:06:35 | 54.71 | |
4 | 2011-02-26 01:04:43 | 44.36 |