projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a60cccb
)
[ehow] Use compat_urllib_parse_unquote
author
Sergey M․
<dstftw@gmail.com>
Fri, 17 Jul 2015 17:37:23 +0000
(23:37 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 17 Jul 2015 17:37:23 +0000
(23:37 +0600)
youtube_dl/extractor/ehow.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ehow.py
b/youtube_dl/extractor/ehow.py
index 9cb1bf301b9ae3e327e4831bdb8a7d2437b43803..ba96859910188d502ed1381b69c914a948a1854d 100644
(file)
--- a/
youtube_dl/extractor/ehow.py
+++ b/
youtube_dl/extractor/ehow.py
@@
-1,7
+1,7
@@
from __future__ import unicode_literals
from ..compat import (
from __future__ import unicode_literals
from ..compat import (
- compat_urllib_parse,
+ compat_urllib_parse
_unquote
,
)
from .common import InfoExtractor
)
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')
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', '')
uploader = self._html_search_meta('uploader', webpage)
title = self._og_search_title(webpage).replace(' | eHow', '')