1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

[spankwire] Fix description search

This commit is contained in:
Philipp Hagemeister 2013-11-20 09:23:53 +01:00
parent f2e87ef4fa
commit ca872a4c0b

View 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: