1
0
Fork 0

[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
commit 7223d29569
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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