]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
added test for ehow
authorM.Yasoob Khalid <yasoob.khld@gmail.com>
Thu, 11 Jul 2013 09:30:25 +0000 (14:30 +0500)
committerM.Yasoob Khalid <yasoob.khld@gmail.com>
Thu, 11 Jul 2013 09:30:25 +0000 (14:30 +0500)
youtube_dl/extractor/ehow.py

index 1844d8b00988ea73af1adedae1d27be4e700d960..a664b081abaf73c0332f754374e5055d4d77e375 100644 (file)
@@ -6,11 +6,13 @@ from .common import InfoExtractor
 class EhowIE(InfoExtractor):
     _VALID_URL = r'(?:http://)?(?:www\.)?ehow\.com/([^/]+)'
     _TEST = {
-        u'url': u'http://www.break.com/video/when-girls-act-like-guys-2468056',
-        u'file': u'2468056.mp4',
-        u'md5': u'a3513fb1547fba4fb6cfac1bffc6c46b',
+        u'url': u'http://www.ehow.com/video_12245069_hardwood-flooring-basics.html',
+        u'file': u'12245069.flv',
+        u'md5': u'9809b4e3f115ae2088440bcb4efbf371',
         u'info_dict': {
-            u"title": u"When Girls Act Like D-Bags"
+            u"title": u"Hardwood Flooring Basics",
+            u"description": u"Hardwood flooring may be time consuming, but its ultimately a pretty straightforward concept. Learn about hardwood flooring basics with help from a hardware flooring business owner in this free video...",
+                       u"uploader": u"Erick Nathan"
         }
     }