Revert "Usage hqdefault thumbnail in related videos"
This reverts commit a0c3ca0159136d17eefa129176ae1904110238b8.
This commit is contained in:
parent
c5dce849f1
commit
f3469b1ff4
@ -275,9 +275,8 @@ def extract_item_info(item, additional_info={}):
|
|||||||
['descriptionText'], ['descriptionSnippet'],
|
['descriptionText'], ['descriptionSnippet'],
|
||||||
['detailedMetadataSnippets', 0, 'snippetText'],
|
['detailedMetadataSnippets', 0, 'snippetText'],
|
||||||
))
|
))
|
||||||
info['thumbnail'] = normalize_url(multi_deep_get(
|
info['thumbnail'] = normalize_url(multi_deep_get(item,
|
||||||
item,
|
['thumbnail', 'thumbnails', 0, 'url'], # videos
|
||||||
['thumbnail', 'thumbnails', 2, 'url'], # videos
|
|
||||||
['thumbnails', 0, 'thumbnails', 0, 'url'], # playlists
|
['thumbnails', 0, 'thumbnails', 0, 'url'], # playlists
|
||||||
['thumbnailRenderer', 'showCustomThumbnailRenderer', 'thumbnail', 'thumbnails', 0, 'url'], # shows
|
['thumbnailRenderer', 'showCustomThumbnailRenderer', 'thumbnail', 'thumbnails', 0, 'url'], # shows
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user