Make sure netrc works for all extractors with login support
Fixes #5112
This commit is contained in:
parent
07490f8017
commit
499bfcbfd0
6 changed files with 31 additions and 0 deletions
|
@ -23,6 +23,7 @@ class TwitchBaseIE(InfoExtractor):
|
|||
_API_BASE = 'https://api.twitch.tv'
|
||||
_USHER_BASE = 'http://usher.twitch.tv'
|
||||
_LOGIN_URL = 'https://secure.twitch.tv/user/login'
|
||||
_NETRC_MACHINE = 'twitch'
|
||||
|
||||
def _handle_error(self, response):
|
||||
if not isinstance(response, dict):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue