aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/mofosex.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/mofosex.py')
-rw-r--r--youtube_dl/extractor/mofosex.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/youtube_dl/extractor/mofosex.py b/youtube_dl/extractor/mofosex.py
index 5234cac02..1c652813a 100644
--- a/youtube_dl/extractor/mofosex.py
+++ b/youtube_dl/extractor/mofosex.py
@@ -1,8 +1,5 @@
from __future__ import unicode_literals
-import re
-
-from .common import InfoExtractor
from ..utils import (
int_or_none,
str_to_int,
@@ -57,23 +54,3 @@ class MofosexIE(KeezMoviesIE):
})
return info
-
-
-class MofosexEmbedIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?mofosex\.com/embed/?\?.*?\bvideoid=(?P<id>\d+)'
- _TESTS = [{
- 'url': 'https://www.mofosex.com/embed/?videoid=318131&referrer=KM',
- 'only_matching': True,
- }]
-
- @staticmethod
- def _extract_urls(webpage):
- return re.findall(
- r'<iframe[^>]+\bsrc=["\']((?:https?:)?//(?:www\.)?mofosex\.com/embed/?\?.*?\bvideoid=\d+)',
- webpage)
-
- def _real_extract(self, url):
- video_id = self._match_id(url)
- return self.url_result(
- 'http://www.mofosex.com/videos/{0}/{0}.html'.format(video_id),
- ie=MofosexIE.ie_key(), video_id=video_id)