[youtube] fix video's channel extraction(closes #28562)
parent
cc777dcaa0
commit
49fc0a567f
|
@ -1896,7 +1896,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
info['channel'] = get_text(try_get(
|
info['channel'] = get_text(try_get(
|
||||||
vsir,
|
vsir,
|
||||||
lambda x: x['owner']['videoOwnerRenderer']['title'],
|
lambda x: x['owner']['videoOwnerRenderer']['title'],
|
||||||
compat_str))
|
dict))
|
||||||
rows = try_get(
|
rows = try_get(
|
||||||
vsir,
|
vsir,
|
||||||
lambda x: x['metadataRowContainer']['metadataRowContainerRenderer']['rows'],
|
lambda x: x['metadataRowContainer']['metadataRowContainerRenderer']['rows'],
|
||||||
|
|
Loading…
Reference in New Issue