1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-11 04:17:19 +08:00

[ccma] flake8 passing

This commit is contained in:
Víctor López Juan 2017-12-23 23:55:39 +01:00
parent b6aef5870b
commit f75b67a1a1

View File

@ -62,9 +62,9 @@ class CCMAIE(InfoExtractor):
m = re.match(self._VALID_URL, url)
if m.group('type'):
media_type = m.group('type')
media_id = m.group('id1')
media_id = m.group('id1')
elif m.group('channel'):
channel_to_type = {'tv3':'video','catradio':'audio'}
channel_to_type = {'tv3': 'video', 'catradio': 'audio'}
media_type = channel_to_type[m.group('channel')]
media_id = m.group('id2')
media_data = {}