From: newtonelectron Date: Sun, 5 Apr 2015 20:43:21 +0000 (-0700) Subject: [SpankBang] Use python2.6 compatible string formatting spec X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=2e7daef50220ee90e8a2e2b979600f8bd4a3e40e;p=youtube-dl.git [SpankBang] Use python2.6 compatible string formatting spec --- diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py index 8e845ef26..61fd64d17 100644 --- a/youtube_dl/extractor/spankbang.py +++ b/youtube_dl/extractor/spankbang.py @@ -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 {