From 8cc5ae3b377ae1c9b44225f9f6b1adfaa071e277 Mon Sep 17 00:00:00 2001 From: ddmgy Date: Sun, 8 Apr 2018 17:48:10 -0400 Subject: [PATCH] [Roosterteeth] Use single quotes. --- youtube_dl/extractor/roosterteeth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/roosterteeth.py b/youtube_dl/extractor/roosterteeth.py index 8255e4724..9d513c5f4 100644 --- a/youtube_dl/extractor/roosterteeth.py +++ b/youtube_dl/extractor/roosterteeth.py @@ -15,7 +15,7 @@ from ..utils import ( class RoosterTeethIE(InfoExtractor): _VALID_URL = r'https?://(?:.+?\.)?roosterteeth\.com/episode/(?P[^/?#&]+)' _LOGIN_URL = 'https://auth.roosterteeth.com/oauth/token' - _API_URL = "https://svod-be.roosterteeth.com/api/v1/episodes/" + _API_URL = 'https://svod-be.roosterteeth.com/api/v1/episodes/' _ACCESS_TOKEN = None _NETRC_MACHINE = 'roosterteeth' _TESTS = [{ @@ -78,7 +78,7 @@ class RoosterTeethIE(InfoExtractor): headers = {} if self._ACCESS_TOKEN: - headers["Authorization"] = "Bearer {}".format(self._ACCESS_TOKEN) + headers['Authorization'] = 'Bearer {}'.format(self._ACCESS_TOKEN) api_response = self._call_api( display_id,