mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 11:07:56 +01:00
[spankwire] Fix description search
This commit is contained in:
parent
f2e87ef4fa
commit
ca872a4c0b
@ -40,7 +40,7 @@ def _real_extract(self, url):
|
|||||||
thumbnail = self._html_search_regex(
|
thumbnail = self._html_search_regex(
|
||||||
r'flashvars\.image_url = "([^"]+)', webpage, u'thumbnail', fatal=False)
|
r'flashvars\.image_url = "([^"]+)', webpage, u'thumbnail', fatal=False)
|
||||||
description = self._html_search_regex(
|
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)))
|
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:
|
if webpage.find('flashvars\.encrypted = "true"') != -1:
|
||||||
|
Loading…
Reference in New Issue
Block a user