mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
screencast.com: fallback on page title
When determining the title of the page, use the <title> tag of the page
This commit is contained in:
parent
81de73e5b4
commit
791d6aaecc
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ def _real_extract(self, url):
|
|||
if title is None:
|
||||
title = self._html_search_regex(
|
||||
[r'<b>Title:</b> ([^<]*)</div>',
|
||||
r'class="tabSeperator">></span><span class="tabText">(.*?)<'],
|
||||
r'class="tabSeperator">></span><span class="tabText">(.*?)<',
|
||||
r'<title>([^<]*)</title>'],
|
||||
webpage, 'title')
|
||||
thumbnail = self._og_search_thumbnail(webpage)
|
||||
description = self._og_search_description(webpage, default=None)
|
||||
|
|
Loading…
Reference in a new issue