X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;ds=inline;f=youtube_dl%2Fextractor%2Fehow.py;h=2bb77aec6cb0d9ae2a7b4c6301c6deefc4548c57;hb=8d0bdeba18962688f1fadfc246c69da5ad17a237;hp=1f0b3888e071bd663125a6ba11045fd29602b9a9;hpb=81082e046eef7afa012076546b22e9f43d0c1e0f;p=youtube-dl.git
diff --git a/youtube_dl/extractor/ehow.py b/youtube_dl/extractor/ehow.py
index 1f0b3888e..2bb77aec6 100644
--- a/youtube_dl/extractor/ehow.py
+++ b/youtube_dl/extractor/ehow.py
@@ -28,14 +28,9 @@ class EHowIE(InfoExtractor):
video_url = self._search_regex(r'(?:file|source)=(http[^\'"&]*)',
webpage, u'video URL')
final_url = compat_urllib_parse.unquote(video_url)
- thumbnail_url = self._search_regex(r'',
- webpage, u'thumbnail URL')
uploader = self._search_regex(r'',
webpage, u'uploader')
- title = self._search_regex(r'',
- webpage, u'Video title').replace(' | eHow', '')
- description = self._search_regex(r'',
- webpage, u'video description')
+ title = self._og_search_title(webpage).replace(' | eHow', '')
ext = determine_ext(final_url)
return {
@@ -44,8 +39,8 @@ class EHowIE(InfoExtractor):
'url': final_url,
'ext': ext,
'title': title,
- 'thumbnail': thumbnail_url,
- 'description': description,
+ 'thumbnail': self._og_search_thumbnail(webpage),
+ 'description': self._og_search_description(webpage),
'uploader': uploader,
}