mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-23 15:26:52 +09:00
YoutubeIE: new algo for length 85 (closes #1080), thanks to @patrickslin
This commit is contained in:
1 parent
177ed935a9
commit
a4358cbabd
3 files changed
+4
-4
No files matched your search
@@ -40,7 +40,7 @@ class TestYoutubeSig(unittest.TestCase):
|
||||
|
||||
def test_85(self):
|
||||
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[};?/>.<"
|
||||
right = "{>/?;}[.=+-_)(*&^%$#@!MqBVCXZASDFwHJKLPOIUYTREWQ0987654321mnbvcxzasdfghjklpoiuytr"
|
||||
right = "ertyuiqplkjhgfdsazx$vbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#<%^&*()_-+={[};?/c"
|
||||
self.assertEqual(sig(wrong), right)
|
||||
|
||||
def test_84(self):
|
||||
|
||||
Reference in new issue
Block a user