From 826ec77fb2843357601e795e812fe04bfd6990d1 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Mon, 9 Jun 2014 23:06:25 +0200 Subject: [PATCH] [Vulture] Add support for vulture.com --- youtube_dl/extractor/__init__.py | 1 + youtube_dl/extractor/generic.py | 8 ++++ youtube_dl/extractor/vulture.py | 69 ++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 youtube_dl/extractor/vulture.py diff --git a/youtube_dl/extractor/__init__.py b/youtube_dl/extractor/__init__.py index 15a42ce442..45cc479e24 100644 --- a/youtube_dl/extractor/__init__.py +++ b/youtube_dl/extractor/__init__.py @@ -332,6 +332,7 @@ from .viki import VikiIE from .vk import VKIE from .vube import VubeIE from .vuclip import VuClipIE +from .vulture import VultureIE from .washingtonpost import WashingtonPostIE from .wat import WatIE from .wdr import ( diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 34d55297c6..3105b47abf 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -668,6 +668,14 @@ class GenericIE(InfoExtractor): url = unescapeHTML(mobj.group('url')) return self.url_result(url) + # Look for embedded vulture.com player + mobj = re.search( + r'