Make sure netrc works for all extractors with login support

Fixes #5112
This commit is contained in:
Philipp Hagemeister 2015-03-03 12:59:17 +01:00
parent 07490f8017
commit 499bfcbfd0
6 changed files with 31 additions and 0 deletions

View file

@ -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):