Fixed small issue

This commit is contained in:
cranci1 2025-01-01 18:32:32 +01:00
parent ecf81a8c0c
commit 816001b84e
2 changed files with 1 additions and 3 deletions

View file

@ -77,7 +77,6 @@ struct EpisodeCell: View {
guard let data = data else {
print("No data received")
Logger.shared.log("No data received")
DispatchQueue.main.async {
self.isLoading = false
}
@ -98,7 +97,6 @@ struct EpisodeCell: View {
let title = episodeDetails["title"] as? [String: String],
let image = episodeDetails["image"] as? String else {
print("Invalid response format")
Logger.shared.log("Invalid response format")
DispatchQueue.main.async {
self.isLoading = false
}

View file

@ -111,7 +111,7 @@ extension MediaView {
case "HLS":
pattern = #"https:\/\/[^"\s<>]+\.m3u8(?:\?[^\s"'<>]+)?"#
case "MP4":
pattern = #"https:\/\/(?:(?!php).)+\.mp4(?:\?[^\s"'<>]+)?"#
pattern = #"https:\/\/[^"\s<>]+\.mp4(?:\?[^\s"'<>]+)?"#
default:
return []
}