[ccma] flake8 passing
This commit is contained in:
parent
b6aef5870b
commit
f75b67a1a1
@ -62,9 +62,9 @@ class CCMAIE(InfoExtractor):
|
|||||||
m = re.match(self._VALID_URL, url)
|
m = re.match(self._VALID_URL, url)
|
||||||
if m.group('type'):
|
if m.group('type'):
|
||||||
media_type = m.group('type')
|
media_type = m.group('type')
|
||||||
media_id = m.group('id1')
|
media_id = m.group('id1')
|
||||||
elif m.group('channel'):
|
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_type = channel_to_type[m.group('channel')]
|
||||||
media_id = m.group('id2')
|
media_id = m.group('id2')
|
||||||
media_data = {}
|
media_data = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user