diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-09-01 16:49:03 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-09-01 16:49:03 +0530 |
commit | d2c8aadf799a63aaa7da81ae03052b1ec2addd20 (patch) | |
tree | b6c1e217d7098bea54c4de65ba0615c6ef93936f /yt_dlp/extractor/common.py | |
parent | 1ac7f461845b3f9c0c3a2e6a1308bf82d3e8e55a (diff) | |
download | hypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.tar.lz hypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.tar.xz hypervideo-pre-d2c8aadf799a63aaa7da81ae03052b1ec2addd20.zip |
[cleanup] Misc
Closes #4710, Closes #4754, Closes #4723
Authored by: pukkandan, MrRawes, DavidH-2022
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index b9d0305b4..c76133d8f 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -3874,7 +3874,7 @@ class InfoExtractor: def _extract_from_webpage(cls, url, webpage): for embed_url in orderedSet( cls._extract_embed_urls(url, webpage) or [], lazy=True): - yield cls.url_result(embed_url, cls) + yield cls.url_result(embed_url, None if cls._VALID_URL is False else cls) @classmethod def _extract_embed_urls(cls, url, webpage): |