Browse Source

[videomega] Add shortcut to _VALID_URL

master
Sergey M․ 9 years ago
parent
commit
4211e1941b
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/videomega.py

2
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',

Loading…
Cancel
Save