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'