From 630b33f3b86ae4238d491bf07fe21ea164819dba Mon Sep 17 00:00:00 2001 From: danielcliu Date: Tue, 22 Oct 2019 20:37:46 -0700 Subject: [PATCH] Removed fstrings to make compatable with python 3.5 and lower --- youtube_transcript_api/_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_transcript_api/_api.py b/youtube_transcript_api/_api.py index 493a42d..dd65e78 100644 --- a/youtube_transcript_api/_api.py +++ b/youtube_transcript_api/_api.py @@ -131,7 +131,7 @@ class _TranscriptFetcher(): return None def _execute_api_request(self, timedtext_url, language): - url = f'{self.API_BASE_URL}{self.TIMEDTEXT_STRING}{timedtext_url}' + url = '{}{}{}'.format(self.API_BASE_URL, self.TIMEDTEXT_STRING, timedtext_url) if self.proxies: return requests.get(url, proxies=self.proxies).text else: