@@ -56,7 +56,7 @@ class MyHTMLParser(HTMLParser):
|
||||
self.a_href = False
|
||||
def handle_data(self, data):
|
||||
if self.tbody and self.div and self.a_href:
|
||||
print('\t| '.join(self.timestamps) + '\t| ' + self.get_category() + '| ' + data.strip())
|
||||
print(' \t| '.join(self.timestamps) + '\t| ' + self.get_category() + '| ' + data.strip())
|
||||
self.a_href = False
|
||||
self.timestamps = []
|
||||
elif self.timestamp:
|
||||
|
||||
Reference in New Issue
Block a user