about summary refs log tree commit diff
path: root/test/test_youtube_signature.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-02-04 21:56:17 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-02-04 21:56:17 +0100
commitbc4850908c710f1129273aca23daae4df015a472 (patch)
treea6be805d7bae2a442bbc8fbd9c02ceaf6d0c8575 /test/test_youtube_signature.py
parent20650c865465fb1edad0203b573e25c573efd1a7 (diff)
downloadyoutube-dl-bc4850908c710f1129273aca23daae4df015a472.tar.gz
youtube-dl-bc4850908c710f1129273aca23daae4df015a472.tar.xz
youtube-dl-bc4850908c710f1129273aca23daae4df015a472.zip
[test/youtube_signature] Add a test with the last player
To verify it correctly handles function with “$” in their names.
Diffstat (limited to 'test/test_youtube_signature.py')
-rw-r--r--test/test_youtube_signature.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py
index a3fc53047..8417c55a6 100644
--- a/test/test_youtube_signature.py
+++ b/test/test_youtube_signature.py
@@ -27,6 +27,12 @@ _TESTS = [
         85,
         u'3456789a0cdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRS[UVWXYZ!"#$%&\'()*+,-./:;<=>?@',
     ),
+    (
+        u'https://s.ytimg.com/yts/jsbin/html5player-vfle-mVwz.js',
+        u'js',
+        90,
+        u']\\[@?>=<;:/.-,+*)(\'&%$#"hZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjiagfedcb39876',
+    ),
 ]