fix refactor codelist init

This commit is contained in:
simon 2022-12-23 23:00:35 +07:00
parent 599dd26b53
commit 73e1bba541
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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}"