[noco] Swtich login URL to https (closes #12246)
authorSergey M․ <dstftw@gmail.com>
Fri, 24 Feb 2017 14:48:34 +0000 (21:48 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 24 Feb 2017 14:48:34 +0000 (21:48 +0700)
youtube_dl/extractor/noco.py

index 70ff2ab3653525664b4f1ae590393ee680a2f6e5..fc0624dd039d1f57952c650ff64ca0359a4880f4 100644 (file)
@@ -23,7 +23,7 @@ from ..utils import (
 
 class NocoIE(InfoExtractor):
     _VALID_URL = r'https?://(?:(?:www\.)?noco\.tv/emission/|player\.noco\.tv/\?idvideo=)(?P<id>\d+)'
-    _LOGIN_URL = 'http://noco.tv/do.php'
+    _LOGIN_URL = 'https://noco.tv/do.php'
     _API_URL_TEMPLATE = 'https://api.noco.tv/1.1/%s?ts=%s&tk=%s'
     _SUB_LANG_TEMPLATE = '&sub_lang=%s'
     _NETRC_MACHINE = 'noco'