fix missing config for comments extraction, #596
This commit is contained in:
parent
eced8200c1
commit
f41ecd24c5
|
@ -77,7 +77,7 @@ class Comments:
|
||||||
def get_yt_comments(self):
|
def get_yt_comments(self):
|
||||||
"""get comments from youtube"""
|
"""get comments from youtube"""
|
||||||
yt_obs = self.build_yt_obs()
|
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:
|
if not info_json:
|
||||||
return False, False
|
return False, False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue