YoutubeIE: new algo for length 85 (closes #1080), thanks to @patrickslin

This commit is contained in:
Jaime Marquínez Ferrándiz committed 2013-07-19 17:12:40 +02:00
1 parent 177ed935a9
commit a4358cbabd
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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):