mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-18 00:24:04 -05:00
[spankbang] Fix title extraction (Closes #8329)
This commit is contained in:
parent
9339774af2
commit
c3111ab34f
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def _real_extract(self, url):
|
|||
self._sort_formats(formats)
|
||||
|
||||
title = self._html_search_regex(
|
||||
r'(?s)<h1>(.+?)</h1>', webpage, 'title')
|
||||
r'(?s)<h1[^>]*>(.+?)</h1>', webpage, 'title')
|
||||
description = self._search_regex(
|
||||
r'class="desc"[^>]*>([^<]+)',
|
||||
webpage, 'description', default=None)
|
||||
|
|
Loading…
Reference in a new issue