[SpankBang] Use python2.6 compatible string formatting spec
authornewtonelectron <newton.electron@gmail.com>
Sun, 5 Apr 2015 20:43:21 +0000 (13:43 -0700)
committernewtonelectron <newton.electron@gmail.com>
Sun, 5 Apr 2015 20:43:21 +0000 (13:43 -0700)
youtube_dl/extractor/spankbang.py

index 8e845ef269ec5ebe4fb94f04e9a3ec6fef8ad036..61fd64d178f9321472952dfbb67836cb1c0fa62d 100644 (file)
@@ -25,7 +25,7 @@ class SpankBangIE(InfoExtractor):
                 "format_id": q,
                 "format": q,
                 "ext": "mp4",
-                "url": "http://spankbang.com/_{}/{}/title/{}__mp4".format(video_id, stream_key, q)
+                "url": "http://spankbang.com/_{0}/{1}/title/{2}__mp4".format(video_id, stream_key, q)
             })
 
         return {