From f0897a7581fda30c529eaaa6dbd31fc78191b1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CMr?= Date: Tue, 25 Oct 2022 20:14:03 +0100 Subject: [PATCH] Fix string interpolation to support python2 --- youtube_dl/extractor/recurbate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/recurbate.py b/youtube_dl/extractor/recurbate.py index 4e7e0afba..53d55ddf5 100644 --- a/youtube_dl/extractor/recurbate.py +++ b/youtube_dl/extractor/recurbate.py @@ -22,7 +22,7 @@ class RecurbateIE(InfoExtractor): title = self._html_search_regex(r'(.+?)', webpage, 'title') token = self._html_search_regex(r'data-token=(.+?")', webpage, 'play_button').strip("\"") - get_url = f"https://recurbate.com/api/get.php?video={video_id}&token={token}" + get_url = "https://recurbate.com/api/get.php?video={}&token={}".format(video_id, token) video_webpage = self._download_webpage(get_url, video_id) real_url = self._html_search_regex(r'