diff options
author | Sergey M․ <[email protected]> | 2016-03-21 21:36:32 +0600 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2016-03-21 21:36:32 +0600 |
commit | 5886b38d73c54239c85c3e0d8e7c1585d1bbb7da (patch) | |
tree | f4136dedc489a0f559d92d9fe709ef6772f90c0e /youtube_dl/extractor/lifenews.py | |
parent | 0cef27ad255b5cb994b1fa0e80a04bd09514925a (diff) | |
download | youtube-dl-5886b38d73c54239c85c3e0d8e7c1585d1bbb7da.tar.gz youtube-dl-5886b38d73c54239c85c3e0d8e7c1585d1bbb7da.zip |
Add support for https for all extractors as preventive and future-proof measure
Diffstat (limited to 'youtube_dl/extractor/lifenews.py')
-rw-r--r-- | youtube_dl/extractor/lifenews.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/lifenews.py b/youtube_dl/extractor/lifenews.py index a8fd639cc..ba2f80a75 100644 --- a/youtube_dl/extractor/lifenews.py +++ b/youtube_dl/extractor/lifenews.py @@ -17,7 +17,7 @@ from ..utils import ( class LifeNewsIE(InfoExtractor): IE_NAME = 'lifenews' IE_DESC = 'LIFE | NEWS' - _VALID_URL = r'http://lifenews\.ru/(?:mobile/)?(?P<section>news|video)/(?P<id>\d+)' + _VALID_URL = r'https?://lifenews\.ru/(?:mobile/)?(?P<section>news|video)/(?P<id>\d+)' _TESTS = [{ # single video embedded via video/source @@ -159,7 +159,7 @@ class LifeNewsIE(InfoExtractor): class LifeEmbedIE(InfoExtractor): IE_NAME = 'life:embed' - _VALID_URL = r'http://embed\.life\.ru/embed/(?P<id>[\da-f]{32})' + _VALID_URL = r'https?://embed\.life\.ru/embed/(?P<id>[\da-f]{32})' _TEST = { 'url': 'http://embed.life.ru/embed/e50c2dec2867350528e2574c899b8291', |