Explorar o código

Change test target (Verified with node.js)

Philipp Hagemeister %!s(int64=12) %!d(string=hai) anos
pai
achega
95dbd2f990
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  1. 1 1
      test/test_youtube_signature.py
  2. 0 1
      youtube_dl/extractor/youtube.py

+ 1 - 1
test/test_youtube_signature.py

@@ -30,7 +30,7 @@ _TESTS = [
         u'https://s.ytimg.com/yts/swfbin/watch_as3-vflg5GhxU.swf',
         u'swf',
         82,
-        u'23456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!?#$%&\'()*+,-./:;<=>"'
+        u':/.-,+*)=\'&%$#"!ZYX0VUTSRQPONMLKJIHGFEDCBAzyxw>utsrqponmlkjihgfedcba987654321'
     ),
 ]
 

+ 0 - 1
youtube_dl/extractor/youtube.py

@@ -857,7 +857,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
             m = methods[func_name]
 
             def resfunc(args):
-                print('Entering function %s(%r)' % (func_name, args))
                 registers = ['(this)'] + list(args) + [None] * m.local_count
                 stack = []
                 coder = io.BytesIO(m.code)