]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[spankwire] Fix description search
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 20 Nov 2013 08:23:53 +0000 (09:23 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 20 Nov 2013 08:23:53 +0000 (09:23 +0100)
youtube_dl/extractor/spankwire.py

index 995b464448211b72db20e3cf3c5d849d8521a4ab..9e2ad0d9962c375ca27851b3f842de302be28e56 100644 (file)
@@ -40,7 +40,7 @@ class SpankwireIE(InfoExtractor):
         thumbnail = self._html_search_regex(
             r'flashvars\.image_url = "([^"]+)', webpage, u'thumbnail', fatal=False)
         description = self._html_search_regex(
-            r'>\s*Description:</div>\s*<[^>]+>([^<]+)', webpage, u'description', fatal=False)
+            r'<div\s+id="descriptionContent">([^<]+)<', webpage, u'description', fatal=False)
 
         video_urls = list(map(compat_urllib_parse.unquote , re.findall(r'flashvars\.quality_[0-9]{3}p = "([^"]+)', webpage)))
         if webpage.find('flashvars\.encrypted = "true"') != -1: