From: Philipp Hagemeister Date: Tue, 7 Jan 2014 07:07:46 +0000 (+0100) Subject: [mpora] Add support (Fixes #2096) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c93c2ab1c3bc84f5525e2771c48bcd6d384d9dae;p=youtube-dl [mpora] Add support (Fixes #2096) --- diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py index f1167989e..009d3b60f 100644 --- a/youtube_dl/extractor/__init__.py +++ b/youtube_dl/extractor/__init__.py @@ -112,6 +112,7 @@ from .metacafe import MetacafeIE from .metacritic import MetacriticIE from .mit import TechTVMITIE, MITIE from .mixcloud import MixcloudIE +from .mpora import MporaIE from .mofosex import MofosexIE from .mtv import MTVIE from .muzu import MuzuTVIE diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 7d0e117de..c1f393e39 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -307,6 +307,11 @@ class GenericIE(InfoExtractor): if mobj is not None: return self.url_result(mobj.group(1), 'Aparat') + # Look for MPORA videos + mobj = re.search(r'