about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-11-17 11:05:49 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-11-17 11:05:49 +0100
commitddf49c63445d236138846d778b18db6ede067fc8 (patch)
tree96a31d98ab93f108210f38df74cec1eb87d9f633
parentd1c252048bf74add82de0b9812b589956f3c8a69 (diff)
downloadyoutube-dl-ddf49c63445d236138846d778b18db6ede067fc8.tar.gz
youtube-dl-ddf49c63445d236138846d778b18db6ede067fc8.tar.xz
youtube-dl-ddf49c63445d236138846d778b18db6ede067fc8.zip
[arte] remove two typos
-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 b35a679e3..44d0b5d70 100644
--- a/youtube_dl/extractor/arte.py
+++ b/youtube_dl/extractor/arte.py
@@ -69,7 +69,7 @@ class ArteTvIE(InfoExtractor):
             lang = mobj.group('lang')
             return self._extract_liveweb(url, name, lang)
 
-        if re.search(self._LIVE_URL, video_id) is not None:
+        if re.search(self._LIVE_URL, url) is not None:
             raise ExtractorError(u'Arte live streams are not yet supported, sorry')
             # self.extractLiveStream(url)
             # return
@@ -115,7 +115,7 @@ class ArteTvIE(InfoExtractor):
         event_doc = config_doc.find('event')
         url_node = event_doc.find('video').find('urlHd')
         if url_node is None:
-            url_node = video_doc.find('urlSd')
+            url_node = event_doc.find('urlSd')
 
         return {'id': video_id,
                 'title': event_doc.find('name%s' % lang.capitalize()).text,