From c2baf165e44f20cb6ae625623d69775b2d5f12f7 Mon Sep 17 00:00:00 2001 From: Hugo Alves De Azevedo Date: Fri, 28 Aug 2020 14:40:03 -0300 Subject: [PATCH] - formatting --- youtube_dl/extractor/alura.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/alura.py b/youtube_dl/extractor/alura.py index 9ff2bd347..f934d4e92 100644 --- a/youtube_dl/extractor/alura.py +++ b/youtube_dl/extractor/alura.py @@ -46,7 +46,7 @@ class AluraIE(InfoExtractor): course = self._search_regex(self._VALID_URL, url, 'post url', group='course_name') video_url = self._VIDEO_URL % (course, video_id) - video_dict = self._download_json(video_url, None, 'Searching for videos', expected_status=[404, 500]) + video_dict = self._download_json(video_url, video_id, 'Searching for videos') if video_dict: webpage = self._download_webpage(url, video_id)