diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-04-05 21:27:36 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-04-06 01:29:58 +0700 |
commit | 4e7b5bba5fb73502476c61e4931284c9c3d3d232 (patch) | |
tree | 8c06c7b13c739ce92a4133de55c83a2cd162d6a1 /youtube_dl/extractor/generic.py | |
parent | 52c4c51556df15f98c9cda911e36995fe0fc0a47 (diff) |
[mofosex] Add support for generic embeds (closes #24633)
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 0ada6354e..ce8252f6a 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -60,6 +60,7 @@ from .tnaflix import TNAFlixNetworkEmbedIE from .drtuber import DrTuberIE from .redtube import RedTubeIE from .tube8 import Tube8IE +from .mofosex import MofosexEmbedIE from .spankwire import SpankwireIE from .youporn import YouPornIE from .vimeo import VimeoIE @@ -2717,6 +2718,11 @@ class GenericIE(InfoExtractor): if tube8_urls: return self.playlist_from_matches(tube8_urls, video_id, video_title, ie=Tube8IE.ie_key()) + # Look for embedded Mofosex player + mofosex_urls = MofosexEmbedIE._extract_urls(webpage) + if mofosex_urls: + return self.playlist_from_matches(mofosex_urls, video_id, video_title, ie=MofosexEmbedIE.ie_key()) + # Look for embedded Spankwire player spankwire_urls = SpankwireIE._extract_urls(webpage) if spankwire_urls: |