YoutubeIE: new algo for length 87 (fixes #1105)

Squashed commit from the pull requests #1107, #1109 and #1110.
This commit is contained in:
patrickslin 2013-07-23 17:32:25 -07:00 committed by Jaime Marquínez Ferrándiz
parent fc492de31d
commit 239e3e0cca
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ class TestYoutubeSig(unittest.TestCase):
def test_87(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$^&*()_-+={[]}|:;?/>.<"
right = "!?;:|}][{=+-_)(*&^$#@/MNBVCXZASqFGHJKLPOIUYTREWQ0987654321mnbvcxzasdfghjklpoiuytr"
right = "tyuioplkjhgfdsazxcv<nm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$^&*()_-+={[]}|:;?/>"
self.assertEqual(sig(wrong), right)
def test_86(self):