mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-11 01:07:25 +08:00
[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)
|
||||
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 = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user