From 9cb8ca072dd97933313828a44d906fef37381391 Mon Sep 17 00:00:00 2001 From: Lyz Date: Mon, 18 Mar 2019 11:27:48 +0100 Subject: [PATCH] Switched from format to % --- youtube_dl/extractor/bandcamp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index 91a2b1eaf..1d131f16d 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -448,7 +448,7 @@ class BandcampUserIE(InfoExtractor): self.url_result( compat_urlparse.urljoin(url, album_id), ie=BandcampAlbumIE.ie_key(), - video_id='{}-{}'.format(uploader, album_id), + video_id='%s-%s' % (uploader, album_id), video_title=album_id, ) for album_id in album_elements @@ -457,6 +457,6 @@ class BandcampUserIE(InfoExtractor): return { '_type': 'playlist', 'id': uploader, - 'title': 'Albums of {}'.format(uploader), + 'title': 'Albums of %s' % (uploader), 'entries': entries, }