diff options
author | Hugo Alves De Azevedo <hugo.azevedo@mercadolivre.com> | 2020-08-28 14:40:03 -0300 |
---|---|---|
committer | Hugo Alves De Azevedo <hugo.azevedo@mercadolivre.com> | 2020-08-28 14:40:03 -0300 |
commit | c2baf165e44f20cb6ae625623d69775b2d5f12f7 (patch) | |
tree | bae60a619af3025dedceb319ffb02deb52b7abac | |
parent | 39672cdc792e52dd5acc0770553e1b4dd78163c7 (diff) | |
download | hypervideo-pre-c2baf165e44f20cb6ae625623d69775b2d5f12f7.tar.lz hypervideo-pre-c2baf165e44f20cb6ae625623d69775b2d5f12f7.tar.xz hypervideo-pre-c2baf165e44f20cb6ae625623d69775b2d5f12f7.zip |
- formatting
-rw-r--r-- | youtube_dl/extractor/alura.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |