Make sure netrc works for all extractors with login support
[youtube-dl] / youtube_dl / extractor / twitch.py
index 4b0ce54df4d329cf24e76621c6064c67a4befaaa..8af1361473ac338d45c0bc0f512953c684b9681b 100644 (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):