diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-27 21:52:57 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-28 20:04:40 +0530 |
commit | 0a5a191a2a33e3b305aaf684576b7129ba5173a0 (patch) | |
tree | 5d09a835fa5c14f341b33db4fd4bd420b16f3807 /test/test_YoutubeDL.py | |
parent | 4877f9055c68e5da7d91b03bfb384de79440dc89 (diff) | |
download | hypervideo-pre-0a5a191a2a33e3b305aaf684576b7129ba5173a0.tar.lz hypervideo-pre-0a5a191a2a33e3b305aaf684576b7129ba5173a0.tar.xz hypervideo-pre-0a5a191a2a33e3b305aaf684576b7129ba5173a0.zip |
Improve `--clean-infojson`
It should not removes fields that may be needed for `--load-infojson`.
Eg: `_ffmpeg_args`, `_has_drm`
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r-- | test/test_YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index 051a203ac..1133f6165 100644 --- a/test/test_YoutubeDL.py +++ b/test/test_YoutubeDL.py @@ -661,7 +661,7 @@ class TestYoutubeDL(unittest.TestCase): 'duration': 100000, 'playlist_index': 1, 'playlist_autonumber': 2, - '_last_playlist_index': 100, + '__last_playlist_index': 100, 'n_entries': 10, 'formats': [{'id': 'id 1'}, {'id': 'id 2'}, {'id': 'id 3'}] } |