0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[SpankBang] Use python2.6 compatible string formatting spec

This commit is contained in:
newtonelectron 2015-04-05 13:43:21 -07:00
parent 6410229681
commit 2e7daef502

View file

@ -25,7 +25,7 @@ def _real_extract(self, url):
"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 {