aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-02-03 20:32:10 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-02-03 21:00:39 +0530
commit455a15e2dcf29b4712d92a89a95ad5f3ddad69a1 (patch)
tree82c3c0733f748e47b3e1d551640b416a2c449c14 /yt_dlp/extractor/common.py
parent460a1c08b93dec0c95911be2bf2b84a65c3813e8 (diff)
downloadhypervideo-pre-455a15e2dcf29b4712d92a89a95ad5f3ddad69a1.tar.lz
hypervideo-pre-455a15e2dcf29b4712d92a89a95ad5f3ddad69a1.tar.xz
hypervideo-pre-455a15e2dcf29b4712d92a89a95ad5f3ddad69a1.zip
[cleanup,docs] Minor fixes
Closes #2541, #2484
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 31b1bab3b..ac9e28560 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -1291,7 +1291,8 @@ class InfoExtractor(object):
return self._og_search_property('description', html, fatal=False, **kargs)
def _og_search_title(self, html, **kargs):
- return self._og_search_property('title', html, fatal=False, **kargs)
+ kargs.setdefault('fatal', False)
+ return self._og_search_property('title', html, **kargs)
def _og_search_video_url(self, html, name='video url', secure=True, **kargs):
regexes = self._og_regexes('video') + self._og_regexes('video:url')