add commentRenderer fix from @minamotorin

pull/9775/head
jakeogh 2024-05-05 21:38:01 -07:00
rodzic 3ef651718e
commit a1102d7df9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3564,7 +3564,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
check_get_keys = None
if not is_forced_continuation and not (tracker['est_total'] == 0 and tracker['running_total'] == 0):
check_get_keys = [[*continuation_items_path, ..., (
'commentsHeaderRenderer' if is_first_continuation else ('commentThreadRenderer', 'commentViewModel'))]]
'commentsHeaderRenderer' if is_first_continuation else ('commentThreadRenderer', 'commentViewModel', 'commentRenderer'))]]
try:
response = self._extract_response(
item_id=None, query=continuation,