[streamango] add support for streamcherry.com
authorealgase <mostdigitsofpi@gmail.com>
Sun, 7 Apr 2019 03:59:41 +0000 (23:59 -0400)
committerGitHub <noreply@github.com>
Sun, 7 Apr 2019 03:59:41 +0000 (23:59 -0400)
youtube_dl/extractor/streamango.py

index efb259f96f3c56157998ca379f38f8d4037d643e..f1e17dd887f8a4ab010ff1b406087da5ba6af676 100644 (file)
@@ -14,7 +14,7 @@ from ..utils import (
 
 
 class StreamangoIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?(?:streamango\.com|fruithosts\.net)/(?:f|embed)/(?P<id>[^/?#&]+)'
+    _VALID_URL = r'https?://(?:www\.)?(?:streamango\.com|fruithosts\.net|streamcherry\.com)/(?:f|embed)/(?P<id>[^/?#&]+)'
     _TESTS = [{
         'url': 'https://streamango.com/f/clapasobsptpkdfe/20170315_150006_mp4',
         'md5': 'e992787515a182f55e38fc97588d802a',
@@ -41,6 +41,9 @@ class StreamangoIE(InfoExtractor):
     }, {
         'url': 'https://fruithosts.net/f/mreodparcdcmspsm/w1f1_r4lph_2018_brrs_720p_latino_mp4',
         'only_matching': True,
+    }, {
+        'url': 'https://streamcherry.com/f/clapasobsptpkdfe/',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):