mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 01:31:07 +00:00
[vodlocker] Allow title to end with a <br>
This commit is contained in:
parent
bc0bb6fd30
commit
b7b04c9234
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def _real_extract(self, url):
|
|||
req, video_id, 'Downloading video page')
|
||||
|
||||
title = self._search_regex(
|
||||
r'id="file_title".*?>\s*(.*?)\s*<span', webpage, 'title')
|
||||
r'id="file_title".*?>\s*(.*?)\s*<(?:br|span)', webpage, 'title')
|
||||
thumbnail = self._search_regex(
|
||||
r'image:\s*"(http[^\"]+)",', webpage, 'thumbnail')
|
||||
url = self._search_regex(
|
||||
|
|
Loading…
Reference in a new issue