diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-05-14 23:40:34 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-05-14 23:40:34 +0600 |
commit | 5d39176f6de8bab1e019ead7cd497659f3fc1a94 (patch) | |
tree | 9a53ce39d2578f15d6efe86a10bffc3958be4738 /youtube_dl/extractor/generic.py | |
parent | 5c86bfe70ff0048e59c6e890af14a055522fd3fd (diff) |
[extractor/generic:3qsdn] Add support for embeds
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r-- | youtube_dl/extractor/generic.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 0f1eb7fa6..b48ccfc97 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -61,6 +61,7 @@ from .jwplatform import JWPlatformIE from .digiteka import DigitekaIE from .instagram import InstagramIE from .liveleak import LiveLeakIE +from .threeqsdn import ThreeQSDNIE class GenericIE(InfoExtractor): @@ -1983,6 +1984,11 @@ class GenericIE(InfoExtractor): if liveleak_url: return self.url_result(liveleak_url, 'LiveLeak') + # Look for 3Q SDN embeds + threeqsdn_url = ThreeQSDNIE._extract_url(webpage) + if threeqsdn_url: + return self.url_result(self._proto_relative_url(threeqsdn_url), ThreeQSDNIE.ie_key()) + def check_video(vurl): if YoutubeIE.suitable(vurl): return True |