mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-19 15:25:51 +00:00
fix refactor codelist init
This commit is contained in:
parent
599dd26b53
commit
73e1bba541
@ -143,7 +143,7 @@ class DownloadPostProcess:
|
|||||||
|
|
||||||
def get_comments(self):
|
def get_comments(self):
|
||||||
"""get comments from youtube"""
|
"""get comments from youtube"""
|
||||||
CommentList(self.download.videos).index(send_notifications=True)
|
CommentList(self.download.videos).index(notify=True)
|
||||||
|
|
||||||
|
|
||||||
class VideoDownloader:
|
class VideoDownloader:
|
||||||
|
@ -146,6 +146,7 @@ class Comments:
|
|||||||
if not self.is_activated:
|
if not self.is_activated:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
print(f"{self.youtube_id}: upload comments")
|
||||||
_, _ = ElasticWrap(self.es_path).put(self.json_data)
|
_, _ = ElasticWrap(self.es_path).put(self.json_data)
|
||||||
|
|
||||||
vid_path = f"ta_video/_update/{self.youtube_id}"
|
vid_path = f"ta_video/_update/{self.youtube_id}"
|
||||||
|
Loading…
Reference in New Issue
Block a user