[ultimedia] Extend _VALID_URL to support digiteka
authorSergey M․ <dstftw@gmail.com>
Tue, 19 Jan 2016 15:47:06 +0000 (21:47 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 19 Jan 2016 15:47:06 +0000 (21:47 +0600)
youtube_dl/extractor/ultimedia.py

index 60328123ce0a3bc1e386cc8cac88764149834ee1..eef8705e01b62fa74b27b2d3883537d2a21e2d54 100644 (file)
@@ -9,7 +9,7 @@ from ..utils import int_or_none
 
 class UltimediaIE(InfoExtractor):
     _VALID_URL = r'''(?x)
-        https?://(?:www\.)?ultimedia\.com/
+        https?://(?:www\.)?(?:digiteka\.net|ultimedia\.com)/
         (?:
             deliver/
             (?P<embed_type>
@@ -56,6 +56,9 @@ class UltimediaIE(InfoExtractor):
             'timestamp': 1424760500,
             '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