diff options
Diffstat (limited to 'youtube/yt_data_extract/everything_else.py')
-rw-r--r-- | youtube/yt_data_extract/everything_else.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/yt_data_extract/everything_else.py b/youtube/yt_data_extract/everything_else.py index d1389c6..20e0f30 100644 --- a/youtube/yt_data_extract/everything_else.py +++ b/youtube/yt_data_extract/everything_else.py @@ -227,7 +227,8 @@ def extract_comments_info(polymer_json): info['sort'] = metadata.get('sort') info['video_title'] = None - comments, ctoken = extract_items(response) + comments, ctoken = extract_items(response, + item_types={'commentThreadRenderer', 'commentRenderer'}) info['comments'] = [] info['ctoken'] = ctoken for comment in comments: |