From 110d517ac330f47d639f36f73e4a8eb368ff42fb Mon Sep 17 00:00:00 2001 From: "M.Yasoob Khalid" Date: Mon, 10 Jun 2013 22:21:24 +0500 Subject: [PATCH] change {} to %s --- youtube_dl/InfoExtractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 73014655c..690c09b5d 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -4636,7 +4636,7 @@ class MyspaceIE(InfoExtractor): if mobj is None: raise ExtractorError(u'Invalid URL: %s' % url) track_id = mobj.group('id') - data = 'type=song&id={}&at=1'.format(track_id) + data = 'type=song&id=%s&at=1'%(track_id) info_url = "http://www.myspace.com/Modules/PageEditor/Handlers/music/queue.ashx" headers = { 'Hash':'MIGcBgkrBgEEAYI3WAOggY4wgYsGCisGAQQBgjdYAwGgfTB7AgMCAAECAmYDAgIAwAQIYLI97pYniaIEEEZ7OzdEz%2bIWLU44SUNWb30EUFjzQCE6jLLj9dgPm5be2u4N4ljriq5Up6l3RTd81ynC8UyNrmT8KElNy5%2bz8uxPHY3FdSDSgkJUuW3iF4SdT53bMvA8fAP2iOBxBMhGjy9d',