Compare commits

..

2 Commits

Author SHA1 Message Date
Audrey
9106506dfe remove print statement 2024-11-06 18:51:42 -05:00
Audrey
f4e3a4e46d don't fail on m3u8 error
make m3u8 HTTP errors non-fatal (424 noticed)
2024-11-06 18:48:55 -05:00

View File

@ -257,7 +257,8 @@ class BannedVideoIE(BannedVideoBaseIE):
if video_info.get('streamUrl') and not re.search(r'\.mp4$', video_info.get('streamUrl') or ''): if video_info.get('streamUrl') and not re.search(r'\.mp4$', video_info.get('streamUrl') or ''):
formats.extend(self._extract_m3u8_formats( formats.extend(self._extract_m3u8_formats(
video_info.get('streamUrl'), video_id, 'mp4', video_info.get('streamUrl'), video_id, 'mp4',
entry_protocol='m3u8_native', m3u8_id='hls', live=True)) entry_protocol='m3u8_native', m3u8_id='hls',
live=True, fatal=False))
return { return {
'id': video_id, 'id': video_id,