]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[googledrive] Fix height extraction (closes #13603)
authorSergey M․ <dstftw@gmail.com>
Sat, 8 Jul 2017 17:26:13 +0000 (00:26 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 8 Jul 2017 17:26:13 +0000 (00:26 +0700)
youtube_dl/extractor/googledrive.py

index 9705cfaddf20ba503b463b9a91d22aee3dbd2178..c40da85c56d34d5e6d7e036005fe40e45674fb5f 100644 (file)
@@ -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)