playlist fix 1

This commit is contained in:
J62 2025-03-12 18:08:11 -07:00
parent 8421f7056b
commit e7f34ff562
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ public class ChaturbateModel extends AbstractModel {
String content = response.body().string();
log.trace("Raw stream info for model {}: {}", getName(), content);
streamInfo = mapper.readValue(content, StreamInfo.class);
streamInfo.url = streamInfo.url.replaceAll("live-hls", "live-c-fhls").replaceAll("playlist\\.m3u8", "playlist_sfm4s.m3u8");
return streamInfo;
} else {
int code = response.code();