aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-18 04:27:09 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-18 04:27:09 +0600
commit4211e1941b39cb153505c64ab8fcb31a762674d1 (patch)
tree0228d355fda2e4aa470017cf1b008a7b3d551188
parent4bdfef5a1874d99457cf5758c5d8e1cc0c487f08 (diff)
[videomega] Add shortcut to _VALID_URL
-rw-r--r--youtube_dl/extractor/videomega.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/videomega.py b/youtube_dl/extractor/videomega.py
index b2ef637fa..78ff6310a 100644
--- a/youtube_dl/extractor/videomega.py
+++ b/youtube_dl/extractor/videomega.py
@@ -8,7 +8,7 @@ from ..compat import compat_urllib_request
class VideoMegaIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?videomega\.tv/(?:(?:view|iframe|cdn)\.php)?\?ref=(?P<id>[A-Za-z0-9]+)'
+ _VALID_URL = r'(?:videomega:|https?://(?:www\.)?videomega\.tv/(?:(?:view|iframe|cdn)\.php)?\?ref=)(?P<id>[A-Za-z0-9]+)'
_TESTS = [{
'url': 'http://videomega.tv/cdn.php?ref=AOSQBJYKIDDIKYJBQSOA',
'md5': 'cc1920a58add3f05c6a93285b84fb3aa',