1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 21:11:46 +08:00

[srgssr] PEP8

This commit is contained in:
Alex Seiler 2017-02-22 20:52:13 +01:00
parent 41a33b2357
commit 9f4f1b56df

View File

@ -124,7 +124,6 @@ class SRGSSRIE(InfoExtractor):
return subtitles return subtitles
def _real_extract(self, url): def _real_extract(self, url):
bu, media_type, url_id = re.match(self._VALID_URL, url).groups() bu, media_type, url_id = re.match(self._VALID_URL, url).groups()
@ -243,18 +242,18 @@ class SRGSSRPlayIE(InfoExtractor):
'ext': 'mp4', 'ext': 'mp4',
'title': 'Schwander, Rot-Grüne Stadtpolitik, Min Li Marti, Tamilen-Kirche', 'title': 'Schwander, Rot-Grüne Stadtpolitik, Min Li Marti, Tamilen-Kirche',
'description': 'Verbissener Kampf / Vertreibung der Büezer / Theke: Min Li Marti / Geldsegen für den Pastor', 'description': 'Verbissener Kampf / Vertreibung der Büezer / Theke: Min Li Marti / Geldsegen für den Pastor',
'duration': 2630.0, 'duration': 2630.0,
'upload_date': '20170208', 'upload_date': '20170208',
'timestamp': 1486583589, 'timestamp': 1486583589,
'thumbnail': r're:^https?://.*1486587225\.png$', 'thumbnail': r're:^https?://.*1486587225\.png$',
'subtitles': { 'subtitles': {
'de': [{ 'de': [{
'ext': 'ttml', 'ext': 'ttml',
'url': 're:^https://.*\.ttml$', 'url': 're:^https://.*\.ttml$',
}, { }, {
'ext': 'vtt', 'ext': 'vtt',
'url': 're:^https://.*\.vtt$', 'url': 're:^https://.*\.vtt$',
}] }]
}, },
}, },
}, { }, {