Compare commits

..

No commits in common. "49fe907b2f9199e9f8fa03d580a29c9e0e99b47d" and "009ab8646c5e4a3cd3eb9e2dc09066734dc59a58" have entirely different histories.

View File

@ -231,17 +231,8 @@ class NFBIE(NFBBaseIE):
if 'MESSAGE_GEOBLOCKED' in player: if 'MESSAGE_GEOBLOCKED' in player:
self.raise_geo_restricted(countries=self._GEO_COUNTRIES) self.raise_geo_restricted(countries=self._GEO_COUNTRIES)
formats, subtitles = self._extract_m3u8_formats_and_subtitles( source = self._html_search_regex(r'source:\s*\'([^\']+)', player, 'source')
self._html_search_regex(r'source:\s*\'([^\']+)', player, 'm3u8 url'), formats, subtitles = self._extract_m3u8_formats_and_subtitles(source, video_id, 'mp4')
video_id, 'mp4', m3u8_id='hls')
if dv_source := self._html_search_regex(r'dvSource:\s*\'([^\']+)', player, 'dv', default=None):
fmts, subs = self._extract_m3u8_formats_and_subtitles(
dv_source, video_id, 'mp4', m3u8_id='dv', preference=-2, fatal=False)
for fmt in fmts:
fmt['format_note'] = 'described video'
formats.extend(fmts)
self._merge_subtitles(subs, target=subtitles)
info = { info = {
'id': video_id, 'id': video_id,