From f3469b1ff4219065263f3af0ffa384895a720e30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jes=C3=BAs?= <heckyel@hyperbola.info>
Date: Tue, 14 Sep 2021 16:35:04 -0500
Subject: Revert "Usage hqdefault thumbnail in related videos"

This reverts commit a0c3ca0159136d17eefa129176ae1904110238b8.
---
 youtube/yt_data_extract/common.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'youtube/yt_data_extract')

diff --git a/youtube/yt_data_extract/common.py b/youtube/yt_data_extract/common.py
index 6067662..f97597c 100644
--- a/youtube/yt_data_extract/common.py
+++ b/youtube/yt_data_extract/common.py
@@ -275,9 +275,8 @@ def extract_item_info(item, additional_info={}):
         ['descriptionText'], ['descriptionSnippet'],
         ['detailedMetadataSnippets', 0, 'snippetText'],
     ))
-    info['thumbnail'] = normalize_url(multi_deep_get(
-        item,
-        ['thumbnail', 'thumbnails', 2, 'url'],      # videos
+    info['thumbnail'] = normalize_url(multi_deep_get(item,
+        ['thumbnail', 'thumbnails', 0, 'url'],      # videos
         ['thumbnails', 0, 'thumbnails', 0, 'url'],  # playlists
         ['thumbnailRenderer', 'showCustomThumbnailRenderer', 'thumbnail', 'thumbnails', 0, 'url'], # shows
     ))
-- 
cgit v1.2.3