]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Merge pull request #1464 from patrickslin/patch-7
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 20 Sep 2013 06:23:50 +0000 (08:23 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 20 Sep 2013 06:25:10 +0000 (08:25 +0200)
Unable to decrypt signature length 93 (fixes #1461)

1  2 
devscripts/youtube_genalgo.py

index 66019ee55aa3ecd22b33cd7cf8760dcc3e4fe2aa,66019ee55aa3ecd22b33cd7cf8760dcc3e4fe2aa..d4546758d855597e917cf35e53862795ed687893
@@@ -1,10 -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!@#$%^&*()_-+={[]\"|:;"),