1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-17 09:58:29 +00:00

fix: update m3u8 urls

This commit is contained in:
JChris246 2025-03-17 23:37:22 -04:00
parent b450008bc0
commit 5b1b159828

View File

@ -98,7 +98,7 @@ def webpage_extraction(self, video_id):
raise UserNotLive('Model offline')
formats = self._extract_m3u8_formats(
'https://edgevideo.myfreecams.com/llhls/NxServer/' + params['sid'] + '/ngrp:mfc_' + params['a'] + params['mid'] + '.f4v_mobile/playlist.m3u8',
'https://edgevideo.myfreecams.com/llhls/NxServer/' + params['sid'] + '/ngrp:mfc_' + params['a'] + params['mid'] + '.f4v_cmaf/playlist_sfm4s.m3u8',
video_id, ext='mp4', m3u8_id='llhls', live=True)
formats.extend(self._extract_m3u8_formats('https://edgevideo.myfreecams.com/hls/NxServer/' + params['sid'] + '/ngrp:mfc_' + params['a'] + params['mid'] + '.f4v_mobile/playlist.m3u8',
video_id, ext='mp4', m3u8_id='hls', live=True))
@ -166,7 +166,7 @@ def _real_extract(self, url):
f'https://edgevideo.myfreecams.com/llhls/NxServer/{server_id}/ngrp:mfc_{phase}{mid}.f4v_cmaf/playlist_sfm4s.m3u8?nc={rand_val}&v=1.97.23',
video_id, ext='mp4', m3u8_id='llhls', live=True)
formats.extend(self._extract_m3u8_formats(
f'https://edgevideo.myfreecams.com/hls/NxServer/{server_id}/ngrp:mfc_{phase}{mid}.f4v_cmaf/playlist_sfm4s.m3u8?nc={rand_val}&v=1.97.23',
f'https://edgevideo.myfreecams.com/hls/NxServer/{server_id}/ngrp:mfc_{phase}{mid}.f4v_mobile/playlist.m3u8?nc={rand_val}&v=1.97.23',
video_id, ext='mp4', m3u8_id='hls', live=True))
if not formats or len(formats) < 1: