fix refactor codelist init
This commit is contained in:
parent
599dd26b53
commit
73e1bba541
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue