From 5fbfd75347c30fabbec9c5821899cfc8ff175b04 Mon Sep 17 00:00:00 2001 From: Joost Verdoorn Date: Tue, 9 Apr 2019 16:21:41 +0200 Subject: [PATCH] [Amara] Use generic extractor when video type is not Vimeo or Youtube --- youtube_dl/extractor/amara.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/amara.py b/youtube_dl/extractor/amara.py index fed9ad5b3..d2fdad7c6 100644 --- a/youtube_dl/extractor/amara.py +++ b/youtube_dl/extractor/amara.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals from .common import InfoExtractor from .youtube import YoutubeIE from .vimeo import VimeoIE -from ..utils import ExtractorError +from .generic import GenericIE class AmaraIE(InfoExtractor): @@ -39,7 +39,7 @@ class AmaraIE(InfoExtractor): elif video_type == 'V': IE = VimeoIE else: - raise ExtractorError('Could not find extractor for Amara video type %s.' % video_type) + IE = GenericIE ie_info = IE(downloader=self._downloader).extract(video_url)