diff options
| author | Sergey M․ <dstftw@gmail.com> | 2016-03-21 21:36:32 +0600 | 
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2016-03-21 21:36:32 +0600 | 
| commit | 5886b38d73c54239c85c3e0d8e7c1585d1bbb7da (patch) | |
| tree | f4136dedc489a0f559d92d9fe709ef6772f90c0e /youtube_dl/extractor/leeco.py | |
| parent | 0cef27ad255b5cb994b1fa0e80a04bd09514925a (diff) | |
Add support for https for all extractors as preventive and future-proof measure
Diffstat (limited to 'youtube_dl/extractor/leeco.py')
| -rw-r--r-- | youtube_dl/extractor/leeco.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/leeco.py b/youtube_dl/extractor/leeco.py index df47e88ba..462b752dd 100644 --- a/youtube_dl/extractor/leeco.py +++ b/youtube_dl/extractor/leeco.py @@ -28,7 +28,7 @@ from ..utils import (  class LeIE(InfoExtractor):      IE_DESC = '乐视网' -    _VALID_URL = r'http://www\.le\.com/ptv/vplay/(?P<id>\d+)\.html' +    _VALID_URL = r'https?://www\.le\.com/ptv/vplay/(?P<id>\d+)\.html'      _URL_TEMPLATE = 'http://www.le.com/ptv/vplay/%s.html' @@ -196,7 +196,7 @@ class LeIE(InfoExtractor):  class LePlaylistIE(InfoExtractor): -    _VALID_URL = r'http://[a-z]+\.le\.com/[a-z]+/(?P<id>[a-z0-9_]+)' +    _VALID_URL = r'https?://[a-z]+\.le\.com/[a-z]+/(?P<id>[a-z0-9_]+)'      _TESTS = [{          'url': 'http://www.le.com/tv/46177.html',  | 
