mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 00:49:19 +00:00
fix deactivated comment extractor
This commit is contained in:
@@ -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()
|
||||||
self.format_comments(comments_raw)
|
if 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,
|
||||||
|
|||||||
Reference in New Issue
Block a user