[GoogleDrive] flake8 corrections

This commit is contained in:
Parmjit Virk 2017-07-12 17:21:44 -05:00
parent 9870e1b51b
commit 61397c1973

View File

@ -32,7 +32,7 @@ class GoogleDriveIE(InfoExtractor):
'duration': 189, 'duration': 189,
}, },
'params': { 'params': {
'only_matching': True, 'only_matching': True,
} }
}, { }, {
'url': 'https://drive.google.com/file/d/0B0Pcx5-LUToEblNxcXRPWmtmS00/view', 'url': 'https://drive.google.com/file/d/0B0Pcx5-LUToEblNxcXRPWmtmS00/view',
@ -42,7 +42,7 @@ class GoogleDriveIE(InfoExtractor):
'ext': 'mp4', 'ext': 'mp4',
'title': 'bbo20wmv.mp4', 'title': 'bbo20wmv.mp4',
'duration': 5888, 'duration': 5888,
'subtitles' : 'mincount:1', 'subtitles': 'mincount:1',
} }
}, { }, {
'url': 'https://drive.google.com/file/d/0B7uqFWpTkjfcVi1RaXp1OW1ycFE/edit', 'url': 'https://drive.google.com/file/d/0B7uqFWpTkjfcVi1RaXp1OW1ycFE/edit',
@ -52,10 +52,10 @@ class GoogleDriveIE(InfoExtractor):
'ext': 'mp4', 'ext': 'mp4',
'title': '[18] 101 Dalmatians (1961)', 'title': '[18] 101 Dalmatians (1961)',
'duration': 4756, 'duration': 4756,
'subtitles' : 'mincount:1', 'subtitles': 'mincount:1',
}, },
'params': { 'params': {
'only_matching': True, 'only_matching': True,
} }
}, { }, {
'url': 'https://drive.google.com/file/d/0B7klLRUbm38_cXdENHY1cFlHenM/preview', 'url': 'https://drive.google.com/file/d/0B7klLRUbm38_cXdENHY1cFlHenM/preview',
@ -65,10 +65,10 @@ class GoogleDriveIE(InfoExtractor):
'ext': 'mp4', 'ext': 'mp4',
'title': '101 Dalmatians 1961 1080p BluRay x264 AC3 - Ozlem.mp4', 'title': '101 Dalmatians 1961 1080p BluRay x264 AC3 - Ozlem.mp4',
'duration': 4755, 'duration': 4755,
'subtitles' : 'mincount:1', 'subtitles': 'mincount:1',
}, },
'params': { 'params': {
'only_matching': True, 'only_matching': True,
} }
}, { }, {
'url': 'https://drive.google.com/file/d/0B_Cc_rAzzVX9blZZZzZJX2tNYVk/edit', 'url': 'https://drive.google.com/file/d/0B_Cc_rAzzVX9blZZZzZJX2tNYVk/edit',
@ -80,7 +80,7 @@ class GoogleDriveIE(InfoExtractor):
'duration': 2548, 'duration': 2548,
}, },
'params': { 'params': {
'only_matching': True, 'only_matching': True,
} }
}] }]
_FORMATS_EXT = { _FORMATS_EXT = {
@ -102,8 +102,8 @@ class GoogleDriveIE(InfoExtractor):
'59': 'mp4', '59': 'mp4',
} }
_SUBTITLE_FORMATS_EXT = ( _SUBTITLE_FORMATS_EXT = (
'vtt', 'vtt',
'ttml' 'ttml'
) )
@staticmethod @staticmethod