Skip to content

A feature-rich command-line audio/video downloader

[googledrive] Fix height extraction (closes #13603)

Sergey M․8b347a389eaa
diff --git a/youtube_dl/extractor/googledrive.py b/youtube_dl/extractor/googledrive.py
index 9705cfaddf..c40da85c56 100644
--- a/youtube_dl/extractor/googledrive.py
+++ b/youtube_dl/extractor/googledrive.py
@@ -92,7 +92,7 @@ class GoogleDriveIE(InfoExtractor):
if resolution:
f.update({
'width': resolution[0],
- 'height': resolution[0],
+ 'height': resolution[1],
})
formats.append(f)
self._sort_formats(formats)