1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[docs] Improve embedding docs and other minor fixes

This commit is contained in:
pukkandan
2022-04-17 23:19:53 +05:30
parent 2e25ce3a05
commit 3d3bb1688b
5 changed files with 116 additions and 50 deletions

View File

@@ -105,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: