about summary refs log tree commit diff
path: root/youtube_dl/extractor/rtve.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/rtve.py
parent0cef27ad255b5cb994b1fa0e80a04bd09514925a (diff)
downloadyoutube-dl-5886b38d73c54239c85c3e0d8e7c1585d1bbb7da.tar.gz
youtube-dl-5886b38d73c54239c85c3e0d8e7c1585d1bbb7da.tar.xz
youtube-dl-5886b38d73c54239c85c3e0d8e7c1585d1bbb7da.zip
Add support for https for all extractors as preventive and future-proof measure
Diffstat (limited to 'youtube_dl/extractor/rtve.py')
-rw-r--r--youtube_dl/extractor/rtve.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/rtve.py b/youtube_dl/extractor/rtve.py
index 8a8c5d2a0..08cd1ae6c 100644
--- a/youtube_dl/extractor/rtve.py
+++ b/youtube_dl/extractor/rtve.py
@@ -62,7 +62,7 @@ def _decrypt_url(png):
 class RTVEALaCartaIE(InfoExtractor):
     IE_NAME = 'rtve.es:alacarta'
     IE_DESC = 'RTVE a la carta'
-    _VALID_URL = r'http://www\.rtve\.es/(m/)?alacarta/videos/[^/]+/[^/]+/(?P<id>\d+)'
+    _VALID_URL = r'https?://www\.rtve\.es/(m/)?alacarta/videos/[^/]+/[^/]+/(?P<id>\d+)'
 
     _TESTS = [{
         'url': 'http://www.rtve.es/alacarta/videos/balonmano/o-swiss-cup-masculina-final-espana-suecia/2491869/',
@@ -179,7 +179,7 @@ class RTVEInfantilIE(InfoExtractor):
 class RTVELiveIE(InfoExtractor):
     IE_NAME = 'rtve.es:live'
     IE_DESC = 'RTVE.es live streams'
-    _VALID_URL = r'http://www\.rtve\.es/directo/(?P<id>[a-zA-Z0-9-]+)'
+    _VALID_URL = r'https?://www\.rtve\.es/directo/(?P<id>[a-zA-Z0-9-]+)'
 
     _TESTS = [{
         'url': 'http://www.rtve.es/directo/la-1/',