Add support for https for all extractors as preventive and future-proof measure
This commit is contained in:
parent
0cef27ad25
commit
5886b38d73
127 changed files with 156 additions and 156 deletions
|
@ -22,7 +22,7 @@ from ..utils import (
|
|||
|
||||
|
||||
class NocoIE(InfoExtractor):
|
||||
_VALID_URL = r'http://(?:(?:www\.)?noco\.tv/emission/|player\.noco\.tv/\?idvideo=)(?P<id>\d+)'
|
||||
_VALID_URL = r'https?://(?:(?:www\.)?noco\.tv/emission/|player\.noco\.tv/\?idvideo=)(?P<id>\d+)'
|
||||
_LOGIN_URL = 'http://noco.tv/do.php'
|
||||
_API_URL_TEMPLATE = 'https://api.noco.tv/1.1/%s?ts=%s&tk=%s'
|
||||
_SUB_LANG_TEMPLATE = '&sub_lang=%s'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue