mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 01:49:25 +00:00
fix refactor codelist init
This commit is contained in:
@@ -143,7 +143,7 @@ class DownloadPostProcess:
|
||||
|
||||
def get_comments(self):
|
||||
"""get comments from youtube"""
|
||||
CommentList(self.download.videos).index(send_notifications=True)
|
||||
CommentList(self.download.videos).index(notify=True)
|
||||
|
||||
|
||||
class VideoDownloader:
|
||||
|
||||
@@ -146,6 +146,7 @@ class Comments:
|
||||
if not self.is_activated:
|
||||
return
|
||||
|
||||
print(f"{self.youtube_id}: upload comments")
|
||||
_, _ = ElasticWrap(self.es_path).put(self.json_data)
|
||||
|
||||
vid_path = f"ta_video/_update/{self.youtube_id}"
|
||||
|
||||
Reference in New Issue
Block a user