aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/kakao.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/kakao.py')
-rw-r--r--hypervideo_dl/extractor/kakao.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/hypervideo_dl/extractor/kakao.py b/hypervideo_dl/extractor/kakao.py
index 483ab71..1f0f0a5 100644
--- a/hypervideo_dl/extractor/kakao.py
+++ b/hypervideo_dl/extractor/kakao.py
@@ -1,7 +1,3 @@
-# coding: utf-8
-
-from __future__ import unicode_literals
-
from .common import InfoExtractor
from ..compat import compat_HTTPError
from ..utils import (
@@ -109,6 +105,7 @@ class KakaoIE(InfoExtractor):
resp = self._parse_json(e.cause.read().decode(), video_id)
if resp.get('code') == 'GeoBlocked':
self.raise_geo_restricted()
+ raise
fmt_url = traverse_obj(fmt_url_json, ('videoLocation', 'url'))
if not fmt_url:
@@ -123,7 +120,6 @@ class KakaoIE(InfoExtractor):
'filesize': int_or_none(fmt.get('filesize')),
'tbr': int_or_none(fmt.get('kbps')),
})
- self._sort_formats(formats)
thumbs = []
for thumb in clip.get('clipChapterThumbnailList') or []: