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 |
---|---|---|---|
23 | 2014-01-03 09:48:29 | 78.57 | 93% |
14 | 2014-01-02 17:09:54 | 70.47 | 93% |
3 | 2013-03-02 06:56:42 | 55.84 | 88% |