about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-03-03 16:48:54 +0530
committerdirkf <fieldhouse@gmx.net>2023-03-03 15:02:15 +0000
commit3e92c60fcd94c37428d57153dbdd14cd0a1f9226 (patch)
treedee1b139d0ae0f4e2a8408ec4c91e642298a1e7a /test
parent3da17834a49fad2a97c308fdd89aa26781ef4d60 (diff)
downloadyoutube-dl-3e92c60fcd94c37428d57153dbdd14cd0a1f9226.tar.gz
youtube-dl-3e92c60fcd94c37428d57153dbdd14cd0a1f9226.tar.xz
youtube-dl-3e92c60fcd94c37428d57153dbdd14cd0a1f9226.zip
[jsinterp] Handle `Date` at epoch 0
See yt-dlp/yt_dlp#6400
Diffstat (limited to 'test')
-rw-r--r--test/test_youtube_signature.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py
index ac37ffa45..decf7ee38 100644
--- a/test/test_youtube_signature.py
+++ b/test/test_youtube_signature.py
@@ -68,6 +68,10 @@ _SIG_TESTS = [
 
 _NSIG_TESTS = [
     (
+        'https://www.youtube.com/s/player/7862ca1f/player_ias.vflset/en_US/base.js',
+        'X_LCxVDjAavgE5t', 'yxJ1dM6iz5ogUg',
+    ),
+    (
         'https://www.youtube.com/s/player/9216d1f7/player_ias.vflset/en_US/base.js',
         'SLp9F5bwjAdhE9F-', 'gWnb9IK2DJ8Q1w',
     ),