1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-17 02:29:32 +00:00

[noco] Swtich login URL to https (closes #12246)

This commit is contained in:
Sergey M․ 2017-02-24 21:48:34 +07:00
parent 441d7a32e5
commit f3bc281239
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View 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'