mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-14 04:05:16 +00:00
fix: update m3u8 urls
This commit is contained in:
@@ -98,7 +98,7 @@ class MyFreeCamsIE(InfoExtractor):
|
|||||||
raise UserNotLive('Model offline')
|
raise UserNotLive('Model offline')
|
||||||
|
|
||||||
formats = self._extract_m3u8_formats(
|
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)
|
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',
|
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))
|
video_id, ext='mp4', m3u8_id='hls', live=True))
|
||||||
@@ -166,7 +166,7 @@ class MyFreeCamsIE(InfoExtractor):
|
|||||||
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',
|
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)
|
video_id, ext='mp4', m3u8_id='llhls', live=True)
|
||||||
formats.extend(self._extract_m3u8_formats(
|
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))
|
video_id, ext='mp4', m3u8_id='hls', live=True))
|
||||||
|
|
||||||
if not formats or len(formats) < 1:
|
if not formats or len(formats) < 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user