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

fix lint errors

This commit is contained in:
JChris246 2025-03-17 23:11:13 -04:00
parent c3f86881df
commit b450008bc0

View File

@ -96,12 +96,12 @@ def webpage_extraction(self, video_id):
params = self.get_required_params(webpage) params = self.get_required_params(webpage)
if not params.get('sid'): if not params.get('sid'):
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_mobile/playlist.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))
return { return {
'id': video_id, 'id': video_id,