mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-23 02:32:16 +00:00
[radiofrance] remove unused imports
This commit is contained in:
parent
946135aa2a
commit
7de6e075b4
1 changed files with 3 additions and 8 deletions
|
@ -1,12 +1,7 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
import datetime
|
|
||||||
import json
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import (
|
|
||||||
remove_start,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class RadioFranceIE(InfoExtractor):
|
class RadioFranceIE(InfoExtractor):
|
||||||
|
@ -42,11 +37,11 @@ class RadioFranceIE(InfoExtractor):
|
||||||
webpage, u'audio URLs')
|
webpage, u'audio URLs')
|
||||||
formats = [
|
formats = [
|
||||||
{
|
{
|
||||||
'format_id': m[0],
|
'format_id': fm[0],
|
||||||
'url': m[1],
|
'url': fm[1],
|
||||||
'vcodec': 'none',
|
'vcodec': 'none',
|
||||||
}
|
}
|
||||||
for m in
|
for fm in
|
||||||
re.findall(r"([a-z0-9]+)\s*:\s*'([^']+)'", formats_str)
|
re.findall(r"([a-z0-9]+)\s*:\s*'([^']+)'", formats_str)
|
||||||
]
|
]
|
||||||
# No sorting, we don't know any more about these formats
|
# No sorting, we don't know any more about these formats
|
||||||
|
|
Loading…
Reference in a new issue