mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-27 01:56:50 +09:00
[dump] Fix title extraction
This commit is contained in:
1 parent
a319c33d8b
commit
fefc9d121d
1 file changed
+3
-3
@@ -28,12 +28,12 @@ class DumpIE(InfoExtractor):
|
||||
video_url = self._search_regex(
|
||||
r's1.addVariable\("file",\s*"([^"]+)"', webpage, 'video URL')
|
||||
|
||||
thumb = self._og_search_thumbnail(webpage)
|
||||
title = self._search_regex(r'<b>([^"]+)</b>', webpage, 'title')
|
||||
title = self._og_search_title(webpage)
|
||||
thumbnail = self._og_search_thumbnail(webpage)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': title,
|
||||
'url': video_url,
|
||||
'thumbnail': thumb,
|
||||
'thumbnail': thumbnail,
|
||||
}
|
||||
Reference in new issue
Block a user