diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-01 14:16:10 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-01 14:16:10 +0530 |
commit | b050d210dfd6f1a9d0e56820c81aa0eec924e2eb (patch) | |
tree | 7fea011a3500044b4d967926bf1a5515a06f9031 /yt_dlp/YoutubeDL.py | |
parent | f4e4be19f07037507d1694ae0e68e15ff702bf3c (diff) | |
download | hypervideo-pre-b050d210dfd6f1a9d0e56820c81aa0eec924e2eb.tar.lz hypervideo-pre-b050d210dfd6f1a9d0e56820c81aa0eec924e2eb.tar.xz hypervideo-pre-b050d210dfd6f1a9d0e56820c81aa0eec924e2eb.zip |
Fix some typos and linter
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 72e6059ea..d1b6b2056 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2591,7 +2591,7 @@ class YoutubeDL(object): def actual_post_extract(info_dict): if info_dict.get('_type') in ('playlist', 'multi_video'): for video_dict in info_dict.get('entries', {}): - actual_post_extract(video_dict) + actual_post_extract(video_dict or {}) return if '__post_extractor' not in info_dict: @@ -2602,7 +2602,7 @@ class YoutubeDL(object): del info_dict['__post_extractor'] return - actual_post_extract(info_dict) + actual_post_extract(info_dict or {}) def pre_process(self, ie_info): info = dict(ie_info) |