about summary refs log tree commit diff
path: root/devscripts
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-09-20 08:23:50 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-09-20 08:25:10 +0200
commit7a878d47fa57cbfc8b8df398d6dbe753fdabaf0b (patch)
tree1a4318c9ceb219701f14feddc5cb5eb9220f0920 /devscripts
parentc5e743f66f5637fe02fe0b5167fab99a06b903e6 (diff)
parentbc4b9008981096184739666941e73c8d09623502 (diff)
downloadyoutube-dl-7a878d47fa57cbfc8b8df398d6dbe753fdabaf0b.tar.gz
youtube-dl-7a878d47fa57cbfc8b8df398d6dbe753fdabaf0b.tar.xz
youtube-dl-7a878d47fa57cbfc8b8df398d6dbe753fdabaf0b.zip
Merge pull request #1464 from patrickslin/patch-7
Unable to decrypt signature length 93 (fixes #1461)
Diffstat (limited to 'devscripts')
-rw-r--r--devscripts/youtube_genalgo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/devscripts/youtube_genalgo.py b/devscripts/youtube_genalgo.py
index 66019ee55..d4546758d 100644
--- a/devscripts/youtube_genalgo.py
+++ b/devscripts/youtube_genalgo.py
@@ -1,10 +1,14 @@
 #!/usr/bin/env python
+# encoding: utf-8
 
 # Generate youtube signature algorithm from test cases
 
 import sys
 
 tests = [
+    # 93 - vfl79wBKW 2013/07/20
+    (u"qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[]}|:;?/>.<'`~\"€",
+     u".>/?;:|}][{=+-_)(*&^%$#@!MNBVCXZASDFGHJKLPOIUYTREWQ098765'321mnbvcxzasdfghjklpoiu"),
     # 92 - vflQw-fB4 2013/07/17
     ("qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[]}|:;?/>.<'`~\"",
      "mrtyuioplkjhgfdsazxcvbnq1234567890QWERTY}IOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[]\"|:;"),