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/ctsnews.py | |
parent | 0cef27ad255b5cb994b1fa0e80a04bd09514925a (diff) |
Add support for https for all extractors as preventive and future-proof measure
Diffstat (limited to 'youtube_dl/extractor/ctsnews.py')
-rw-r--r-- | youtube_dl/extractor/ctsnews.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ctsnews.py b/youtube_dl/extractor/ctsnews.py index 45049bf37..1622fc844 100644 --- a/youtube_dl/extractor/ctsnews.py +++ b/youtube_dl/extractor/ctsnews.py @@ -8,7 +8,7 @@ from ..utils import parse_iso8601, ExtractorError class CtsNewsIE(InfoExtractor): IE_DESC = '華視新聞' # https connection failed (Connection reset) - _VALID_URL = r'http://news\.cts\.com\.tw/[a-z]+/[a-z]+/\d+/(?P<id>\d+)\.html' + _VALID_URL = r'https?://news\.cts\.com\.tw/[a-z]+/[a-z]+/\d+/(?P<id>\d+)\.html' _TESTS = [{ 'url': 'http://news.cts.com.tw/cts/international/201501/201501291578109.html', 'md5': 'a9875cb790252b08431186d741beaabe', |