]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[mailru] Add support for https (Closes #8920)
authorSergey M․ <dstftw@gmail.com>
Mon, 21 Mar 2016 15:17:29 +0000 (21:17 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 21 Mar 2016 15:17:29 +0000 (21:17 +0600)
youtube_dl/extractor/mailru.py

index 71085f279fb4b9d2a40d866785e75d6d6c419674..46eb004925b88459b2c4859790aa06059a3b61a6 100644 (file)
@@ -13,7 +13,7 @@ from ..utils import (
 class MailRuIE(InfoExtractor):
     IE_NAME = 'mailru'
     IE_DESC = 'Видео@Mail.Ru'
-    _VALID_URL = r'http://(?:www\.)?my\.mail\.ru/(?:video/.*#video=/?(?P<idv1>(?:[^/]+/){3}\d+)|(?:(?P<idv2prefix>(?:[^/]+/){2})video/(?P<idv2suffix>[^/]+/\d+))\.html)'
+    _VALID_URL = r'https?://(?:www\.)?my\.mail\.ru/(?:video/.*#video=/?(?P<idv1>(?:[^/]+/){3}\d+)|(?:(?P<idv2prefix>(?:[^/]+/){2})video/(?P<idv2suffix>[^/]+/\d+))\.html)'
 
     _TESTS = [
         {