fix deactivated comment extractor

This commit is contained in:
simon 2022-11-22 18:01:27 +07:00
parent 24d66e33a7
commit 5ed80d983d
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -33,7 +33,10 @@ class Comments:
self._send_notification(notify) self._send_notification(notify)
comments_raw, channel_id = self.get_yt_comments() comments_raw, channel_id = self.get_yt_comments()
if comments_raw:
self.format_comments(comments_raw) self.format_comments(comments_raw)
else:
self.comments_format = []
self.json_data = { self.json_data = {
"youtube_id": self.youtube_id, "youtube_id": self.youtube_id,