fix missing config for comments extraction, #596

This commit is contained in:
Simon
2023-11-17 09:26:31 +07:00
parent eced8200c1
commit f41ecd24c5

View File

@@ -77,7 +77,7 @@ class Comments:
def get_yt_comments(self):
"""get comments from youtube"""
yt_obs = self.build_yt_obs()
info_json = YtWrap(yt_obs).extract(self.youtube_id)
info_json = YtWrap(yt_obs, config=self.config).extract(self.youtube_id)
if not info_json:
return False, False