[wdr] Fix umlaut parsing on Python 2.x
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 22 Jul 2014 23:47:36 +0000 (01:47 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 22 Jul 2014 23:47:36 +0000 (01:47 +0200)
youtube_dl/extractor/wdr.py

index ab28ef6fe4d3fb16413e72718b80115e9e96ad85..b8ad75e7d42f1c8da70d4f6305f001bd14ed36f0 100644 (file)
@@ -6,7 +6,7 @@ import re
 from .common import InfoExtractor
 from ..utils import (
     compat_parse_qs,
-    compat_urlparse,
+    compat_parse_qs,
     determine_ext,
     unified_strdate,
 )
@@ -81,7 +81,7 @@ class WDRIE(InfoExtractor):
             ]
             return self.playlist_result(entries, page_id)
 
-        flashvars = compat_urlparse.parse_qs(
+        flashvars = compat_parse_qs(
             self._html_search_regex(r'<param name="flashvars" value="([^"]+)"', webpage, 'flashvars'))
 
         page_id = flashvars['trackerClipId'][0]