aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-03-24 23:23:17 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-03-24 23:23:17 +0100
commitb8a792de80404e856139c8a1a801fb370e6ca0e5 (patch)
treecc39bdd51b94c38e16aaa1815f31015ced933b2d /youtube_dl/extractor
parentfac55558ad55344d72cf66033e5f2d2076b2f8cb (diff)
parentb2799ff96d77baf614445adeac914b4277adb374 (diff)
Merge remote-tracking branch 'origin/master' into HEAD
Conflicts: youtube_dl/extractor/arte.py
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/arte.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py
index 9ca6c71e9..646377e4b 100644
--- a/youtube_dl/extractor/arte.py
+++ b/youtube_dl/extractor/arte.py
@@ -40,8 +40,9 @@ class ArteTvIE(InfoExtractor):
formats = [{
'forma_id': q.attrib['quality'],
'url': q.text,
+ 'ext': 'flv',
'quality': 2 if q.attrib['quality'] == 'hd' else 1,
- } for q in config.findall('.//quality')]
+ } for q in config.findall('./urls/url')]
self._sort_formats(formats)
title = config.find('.//name').text
@@ -51,7 +52,6 @@ class ArteTvIE(InfoExtractor):
'title': title,
'thumbnail': thumbnail,
'formats': formats,
- 'ext': 'flv',
}