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

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

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):