aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/aol.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-21 21:36:32 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-21 21:36:32 +0600
commit5886b38d73c54239c85c3e0d8e7c1585d1bbb7da (patch)
treef4136dedc489a0f559d92d9fe709ef6772f90c0e /youtube_dl/extractor/aol.py
parent0cef27ad255b5cb994b1fa0e80a04bd09514925a (diff)
Add support for https for all extractors as preventive and future-proof measure
Diffstat (limited to 'youtube_dl/extractor/aol.py')
-rw-r--r--youtube_dl/extractor/aol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/aol.py b/youtube_dl/extractor/aol.py
index b761b2cc4..95a99c6b0 100644
--- a/youtube_dl/extractor/aol.py
+++ b/youtube_dl/extractor/aol.py
@@ -5,7 +5,7 @@ from .common import InfoExtractor
class AolIE(InfoExtractor):
IE_NAME = 'on.aol.com'
- _VALID_URL = r'(?:aol-video:|http://on\.aol\.com/video/.*-)(?P<id>[0-9]+)(?:$|\?)'
+ _VALID_URL = r'(?:aol-video:|https?://on\.aol\.com/video/.*-)(?P<id>[0-9]+)(?:$|\?)'
_TESTS = [{
'url': 'http://on.aol.com/video/u-s--official-warns-of-largest-ever-irs-phone-scam-518167793?icid=OnHomepageC2Wide_MustSee_Img',
@@ -25,7 +25,7 @@ class AolIE(InfoExtractor):
class AolFeaturesIE(InfoExtractor):
IE_NAME = 'features.aol.com'
- _VALID_URL = r'http://features\.aol\.com/video/(?P<id>[^/?#]+)'
+ _VALID_URL = r'https?://features\.aol\.com/video/(?P<id>[^/?#]+)'
_TESTS = [{
'url': 'http://features.aol.com/video/behind-secret-second-careers-late-night-talk-show-hosts',