projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946135a
)
[radiofrance] remove unused imports
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 17 Dec 2013 11:35:16 +0000
(12:35 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 17 Dec 2013 11:35:16 +0000
(12:35 +0100)
youtube_dl/extractor/radiofrance.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/radiofrance.py
b/youtube_dl/extractor/radiofrance.py
index 2866115efba2500b9bf8f862ca199da6acf6ceb7..34652f6c11ca9668bce89cd4c908d0c363221218 100644
(file)
--- a/
youtube_dl/extractor/radiofrance.py
+++ b/
youtube_dl/extractor/radiofrance.py
@@
-1,12
+1,7
@@
# coding: utf-8
-import datetime
-import json
import re
from .common import InfoExtractor
-from ..utils import (
- remove_start,
-)
class RadioFranceIE(InfoExtractor):
@@
-42,11
+37,11
@@
class RadioFranceIE(InfoExtractor):
webpage, u'audio URLs')
formats = [
{
- 'format_id': m[0],
- 'url': m[1],
+ 'format_id':
f
m[0],
+ 'url':
f
m[1],
'vcodec': 'none',
}
- for m in
+ for
f
m in
re.findall(r"([a-z0-9]+)\s*:\s*'([^']+)'", formats_str)
]
# No sorting, we don't know any more about these formats