commit f3bc281239bafa971195eefd30773d152bfdb10c
parent 441d7a32e563b3985c58af5ab80d76ad943f0c07
Author: Sergey M․ <dstftw@gmail.com>
Date: Fri, 24 Feb 2017 21:48:34 +0700
[noco] Swtich login URL to https (closes #12246)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/noco.py b/youtube_dl/extractor/noco.py
@@ -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'