[itv] Fixed fallback from rtmp to hls streams (closes #16253)
This commit is contained in:
parent
cc42941390
commit
436ccba53a
@ -127,7 +127,7 @@ class ITVIE(InfoExtractor):
|
|||||||
if fault_code == 'InvalidGeoRegion':
|
if fault_code == 'InvalidGeoRegion':
|
||||||
self.raise_geo_restricted(
|
self.raise_geo_restricted(
|
||||||
msg=fault_string, countries=self._GEO_COUNTRIES)
|
msg=fault_string, countries=self._GEO_COUNTRIES)
|
||||||
elif fault_code != 'InvalidEntity':
|
elif not re.match(r'(Content|Invalid)[A-z]', fault_code):
|
||||||
raise ExtractorError(
|
raise ExtractorError(
|
||||||
'%s said: %s' % (self.IE_NAME, fault_string), expected=True)
|
'%s said: %s' % (self.IE_NAME, fault_string), expected=True)
|
||||||
info.update({
|
info.update({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user