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

[ie/mitele] Fix extractor (#12689)

Closes #12655
Authored by: bashonly
This commit is contained in:
bashonly
2025-03-21 18:14:46 -05:00
committed by GitHub
parent f5fb2229e6
commit 7223d29569
2 changed files with 14 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ class TelecincoBaseIE(InfoExtractor):
error_code = traverse_obj(
self._webpage_read_content(error.cause.response, caronte['cerbero'], video_id, fatal=False),
({json.loads}, 'code', {int}))
if error_code == 4038:
if error_code in (4038, 40313):
self.raise_geo_restricted(countries=['ES'])
raise