aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/vlive.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/extractor/vlive.py')
-rw-r--r--youtube_dlc/extractor/vlive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/vlive.py b/youtube_dlc/extractor/vlive.py
index fde6c0149..533bfd5da 100644
--- a/youtube_dlc/extractor/vlive.py
+++ b/youtube_dlc/extractor/vlive.py
@@ -125,7 +125,7 @@ class VLiveIE(VLiveBaseIE):
headers={'Referer': 'https://www.vlive.tv/'}, query=query)
except ExtractorError as e:
if isinstance(e.cause, compat_HTTPError) and e.cause.code == 403:
- self.raise_login_required(json.loads(e.cause.read().decode())['message'])
+ self.raise_login_required(json.loads(e.cause.read().decode('utf-8'))['message'])
raise
def _real_extract(self, url):