From e648c7c38fd350b962245531d6aaf0101825447e Mon Sep 17 00:00:00 2001 From: Lam Date: Mon, 3 Aug 2020 20:18:35 +0200 Subject: [PATCH] Make flake8 happy. --- youtube_dl/extractor/floatplane.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/floatplane.py b/youtube_dl/extractor/floatplane.py index 707d81e6d..04446715a 100644 --- a/youtube_dl/extractor/floatplane.py +++ b/youtube_dl/extractor/floatplane.py @@ -54,8 +54,8 @@ class FloatplaneIE(InfoExtractor): # each url separately for level in cdn_json['resource']['data']['qualityLevels']: video_url = cdn_json['cdn'] + cdn_json['resource']['uri'] - video_url = video_url.replace('{qualityLevels}',level['name']) - video_url = video_url.replace('{qualityLevelParams.token}',cdn_json['resource']['data']['qualityLevelParams'][level['name']]['token']) + video_url = video_url.replace('{qualityLevels}', level['name']) + video_url = video_url.replace('{qualityLevelParams.token}', cdn_json['resource']['data']['qualityLevelParams'][level['name']]['token']) formats.append({ 'format_id': level['name'], 'url': video_url,