mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[slideshare] Fix description
This commit is contained in:
parent
b0fb63abe8
commit
c82b1fdad6
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ def _real_extract(self, url):
|
||||||
ext = info['jsplayer']['video_extension']
|
ext = info['jsplayer']['video_extension']
|
||||||
video_url = compat_urlparse.urljoin(bucket, doc + '-SD.' + ext)
|
video_url = compat_urlparse.urljoin(bucket, doc + '-SD.' + ext)
|
||||||
description = self._html_search_regex(
|
description = self._html_search_regex(
|
||||||
r'<p class="description.*?"[^>]*>(.*?)</p>', webpage, 'description')
|
r'<p\s+(?:style="[^"]*"\s+)?class="description.*?"[^>]*>(.*?)</p>', webpage,
|
||||||
|
'description', fatal=False)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'_type': 'video',
|
'_type': 'video',
|
||||||
|
|
Loading…
Reference in a new issue