aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/camdemy.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/camdemy.py
parent0cef27ad255b5cb994b1fa0e80a04bd09514925a (diff)
Add support for https for all extractors as preventive and future-proof measure
Diffstat (limited to 'youtube_dl/extractor/camdemy.py')
-rw-r--r--youtube_dl/extractor/camdemy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/camdemy.py b/youtube_dl/extractor/camdemy.py
index 897f3a104..dd4d96cec 100644
--- a/youtube_dl/extractor/camdemy.py
+++ b/youtube_dl/extractor/camdemy.py
@@ -16,7 +16,7 @@ from ..utils import (
class CamdemyIE(InfoExtractor):
- _VALID_URL = r'http://(?:www\.)?camdemy\.com/media/(?P<id>\d+)'
+ _VALID_URL = r'https?://(?:www\.)?camdemy\.com/media/(?P<id>\d+)'
_TESTS = [{
# single file
'url': 'http://www.camdemy.com/media/5181/',
@@ -104,7 +104,7 @@ class CamdemyIE(InfoExtractor):
class CamdemyFolderIE(InfoExtractor):
- _VALID_URL = r'http://www.camdemy.com/folder/(?P<id>\d+)'
+ _VALID_URL = r'https?://www.camdemy.com/folder/(?P<id>\d+)'
_TESTS = [{
# links with trailing slash
'url': 'http://www.camdemy.com/folder/450',