Browse Source

[ultimedia] Extend _VALID_URL to support digiteka

Sergey M․ 9 years ago
parent
commit
942d46196f
1 changed files with 4 additions and 1 deletions
  1. 4 1
      youtube_dl/extractor/ultimedia.py

+ 4 - 1
youtube_dl/extractor/ultimedia.py

@@ -9,7 +9,7 @@ from ..utils import int_or_none
 
 
 class UltimediaIE(InfoExtractor):
 class UltimediaIE(InfoExtractor):
     _VALID_URL = r'''(?x)
     _VALID_URL = r'''(?x)
-        https?://(?:www\.)?ultimedia\.com/
+        https?://(?:www\.)?(?:digiteka\.net|ultimedia\.com)/
         (?:
         (?:
             deliver/
             deliver/
             (?P<embed_type>
             (?P<embed_type>
@@ -56,6 +56,9 @@ class UltimediaIE(InfoExtractor):
             'timestamp': 1424760500,
             'timestamp': 1424760500,
             'uploader_id': '3rfzk',
             'uploader_id': '3rfzk',
         },
         },
+    }, {
+        'url': 'https://www.digiteka.net/deliver/generic/iframe/mdtk/01637594/src/lqm3kl/zone/1/showtitle/1/autoplay/yes',
+        'only_matching': True,
     }]
     }]
 
 
     @staticmethod
     @staticmethod