Signed-off-by: Bogomil Vasilev <smirky@smirky.net>
This commit is contained in:
2026-02-13 14:12:17 +02:00
parent 6da4cb891b
commit 1ca024226e
4 changed files with 4 additions and 43 deletions

View File

@@ -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: