aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-09-14 17:22:42 +0100
committerRemita Amine <remitamine@gmail.com>2016-09-14 17:22:42 +0100
commit353f340e11d7fc4a0a4973ddd85bc93b1061a487 (patch)
treeb8c24a80ea2ea262ee03d34c61a08086045ebfb0
parent014b7e6b25be5583c772af054cd7a1e37a327088 (diff)
[go] fix typo
-rw-r--r--youtube_dl/extractor/go.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/go.py b/youtube_dl/extractor/go.py
index 7925c1e22..c7776b186 100644
--- a/youtube_dl/extractor/go.py
+++ b/youtube_dl/extractor/go.py
@@ -70,8 +70,8 @@ class GoIE(InfoExtractor):
}))
errors = entitlement.get('errors', {}).get('errors', [])
if errors:
- error_massege = ', '.join([error['message'] for error in errors])
- raise ExtractorError('%s said: %s' % (self.IE_NAME, error_massege), expected=True)
+ error_message = ', '.join([error['message'] for error in errors])
+ raise ExtractorError('%s said: %s' % (self.IE_NAME, error_message), expected=True)
asset_url += '?' + entitlement['uplynkData']['sessionKey']
formats.extend(self._extract_m3u8_formats(
asset_url, video_id, 'mp4', m3u8_id=format_id or 'hls', fatal=False))