YoutubeIE: new algo for length 81 (fixes #1127)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-07-25 22:06:53 +02:00
parent 733d9cacb8
commit aedd6bb97d
3 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@ class TestYoutubeSig(unittest.TestCase):
def test_81(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKHGFDSAZXCVBNM!@#$%^&*(-+={[};?/>."
right = "urty8ioplkjhgfdsazxcvbqm1234567e90QWERTYUIOPLKHGFDSnZXCVBNM!@#$%^&*(-+={[};?/>."
right = "C>/?;}[{=+-(*&^%$#@!MNBVYXZASDFGHKLPOIU.TREWQ0q87659321mnbvcxzasdfghjkl4oiuytrewp"
self.assertEqual(sig(wrong), right)
if __name__ == '__main__':