From: Philipp Hagemeister Date: Wed, 20 Nov 2013 08:23:53 +0000 (+0100) Subject: [spankwire] Fix description search X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=ca872a4c0b5a926be9dccec6dc43ebb5b8a6abb7;p=youtube-dl.git [spankwire] Fix description search --- diff --git a/youtube_dl/extractor/spankwire.py b/youtube_dl/extractor/spankwire.py index 995b46444..9e2ad0d99 100644 --- a/youtube_dl/extractor/spankwire.py +++ b/youtube_dl/extractor/spankwire.py @@ -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:\s*<[^>]+>([^<]+)', webpage, u'description', fatal=False) + r'([^<]+)<', 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: