parent
f5fb2229e6
commit
7223d29569
2 changed files with 14 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue