[streamango] Add support for fruithosts.net
authoryonaikerlol <lawlietrs7@gmail.com>
Sun, 20 Jan 2019 09:24:21 +0000 (05:24 -0400)
committerSergey M <dstftw@gmail.com>
Sun, 20 Jan 2019 09:24:21 +0000 (16:24 +0700)
youtube_dl/extractor/streamango.py

index fcaa5ac0b08fa3361267f0ac2fefd7dc52deed0a..efb259f96f3c56157998ca379f38f8d4037d643e 100644 (file)
@@ -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):