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 |
---|---|---|---|
17 | 2013-04-02 05:12:14 | 66.23 | 95% |
7 | 2011-07-05 18:31:36 | 67.65 | 98% |
6 | 2011-07-05 18:30:58 | 63.94 | 95% |