aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authoryonaikerlol <lawlietrs7@gmail.com>2019-01-20 05:24:21 -0400
committerSergey M <dstftw@gmail.com>2019-01-20 16:24:21 +0700
commit6ca3fa898cd066422daea3d5be53efdae22187d8 (patch)
treebb0f231d80972f3a34231964991ad17f3ba07685 /youtube_dl/extractor
parent31fbedc06a349bc555ab934588544f75734e3a55 (diff)
[streamango] Add support for fruithosts.net
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/streamango.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/streamango.py b/youtube_dl/extractor/streamango.py
index fcaa5ac0b..efb259f96 100644
--- a/youtube_dl/extractor/streamango.py
+++ b/youtube_dl/extractor/streamango.py
@@ -14,7 +14,7 @@ from ..utils import (
class StreamangoIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?streamango\.com/(?:f|embed)/(?P<id>[^/?#&]+)'
+ _VALID_URL = r'https?://(?:www\.)?(?:streamango\.com|fruithosts\.net)/(?:f|embed)/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'https://streamango.com/f/clapasobsptpkdfe/20170315_150006_mp4',
'md5': 'e992787515a182f55e38fc97588d802a',
@@ -38,6 +38,9 @@ class StreamangoIE(InfoExtractor):
}, {
'url': 'https://streamango.com/embed/clapasobsptpkdfe/20170315_150006_mp4',
'only_matching': True,
+ }, {
+ 'url': 'https://fruithosts.net/f/mreodparcdcmspsm/w1f1_r4lph_2018_brrs_720p_latino_mp4',
+ 'only_matching': True,
}]
def _real_extract(self, url):