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 |
---|---|---|---|
38 | 2013-02-13 06:06:31 | 53.36 | 94% |
20 | 2013-02-10 09:14:09 | 53.56 | 97% |
12 | 2013-02-10 08:44:11 | 51.53 | 94% |