summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-12-17 12:35:16 +0100
committerPhilipp Hagemeister <[email protected]>2013-12-17 12:35:16 +0100
commit7de6e075b4b8738fed185d9924375100ae0d8425 (patch)
treefa42d906f904ed946b7d53c5657fc1414c8cac6b /youtube_dl/extractor
parent946135aa2ab846a367cde5b3b86a0224ac696fdd (diff)
downloadyoutube-dl-7de6e075b4b8738fed185d9924375100ae0d8425.tar.gz
youtube-dl-7de6e075b4b8738fed185d9924375100ae0d8425.zip
[radiofrance] remove unused imports
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/radiofrance.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/youtube_dl/extractor/radiofrance.py b/youtube_dl/extractor/radiofrance.py
index 2866115ef..34652f6c1 100644
--- 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': fm[0],
+ 'url': fm[1],
'vcodec': 'none',
}
- for m in
+ for fm in
re.findall(r"([a-z0-9]+)\s*:\s*'([^']+)'", formats_str)
]
# No sorting, we don't know any more about these formats