summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-17 23:37:23 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-17 23:37:23 +0600
commitd3671b344f663c3aa82aea86de51a70f24511792 (patch)
treee6f5cc37356b46faf2f9cac7a82bda19c316ed92
parenta60cccbf9f76e7e42509bf1ed4e054643ecc348f (diff)
downloadyoutube-dl-d3671b344f663c3aa82aea86de51a70f24511792.tar.gz
youtube-dl-d3671b344f663c3aa82aea86de51a70f24511792.tar.xz
youtube-dl-d3671b344f663c3aa82aea86de51a70f24511792.zip
[ehow] Use compat_urllib_parse_unquote
-rw-r--r--youtube_dl/extractor/ehow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ehow.py b/youtube_dl/extractor/ehow.py
index 9cb1bf301..ba9685991 100644
--- a/youtube_dl/extractor/ehow.py
+++ b/youtube_dl/extractor/ehow.py
@@ -1,7 +1,7 @@
 from __future__ import unicode_literals
 
 from ..compat import (
-    compat_urllib_parse,
+    compat_urllib_parse_unquote,
 )
 from .common import InfoExtractor
 
@@ -26,7 +26,7 @@ class EHowIE(InfoExtractor):
         webpage = self._download_webpage(url, video_id)
         video_url = self._search_regex(
             r'(?:file|source)=(http[^\'"&]*)', webpage, 'video URL')
-        final_url = compat_urllib_parse.unquote(video_url)
+        final_url = compat_urllib_parse_unquote(video_url)
         uploader = self._html_search_meta('uploader', webpage)
         title = self._og_search_title(webpage).replace(' | eHow', '')