aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/twitch.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-03-03 12:59:17 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-03-03 12:59:17 +0100
commit499bfcbfd09e85f053d7e8943a8d47fed9349b0e (patch)
tree443c5044ab5d3d5cf986689eec8c42d176adcb89 /youtube_dl/extractor/twitch.py
parent07490f8017a83b7607686499074c41212fa0a44f (diff)
Make sure netrc works for all extractors with login support
Fixes #5112
Diffstat (limited to 'youtube_dl/extractor/twitch.py')
-rw-r--r--youtube_dl/extractor/twitch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
index 4b0ce54df..8af136147 100644
--- a/youtube_dl/extractor/twitch.py
+++ b/youtube_dl/extractor/twitch.py
@@ -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):