mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
fixed logger
Some checks are pending
Build and Release IPA / Build IPA and Mac Catalyst (push) Waiting to run
Some checks are pending
Build and Release IPA / Build IPA and Mac Catalyst (push) Waiting to run
This commit is contained in:
parent
6812afffb6
commit
b1e517c206
3 changed files with 2 additions and 3 deletions
Binary file not shown.
|
|
@ -69,7 +69,6 @@ struct EpisodeCell: View {
|
|||
URLSession.custom.dataTask(with: url) { data, response, error in
|
||||
if let error = error {
|
||||
print("Failed to fetch episode details: \(error)")
|
||||
Logger.shared.log("Failed to fetch episode details: \(error)")
|
||||
DispatchQueue.main.async {
|
||||
self.isLoading = false
|
||||
}
|
||||
|
|
@ -113,7 +112,6 @@ struct EpisodeCell: View {
|
|||
}
|
||||
} catch {
|
||||
print("Failed to parse JSON: \(error)")
|
||||
Logger.shared.log("Failed to parse JSON: \(error)")
|
||||
DispatchQueue.main.async {
|
||||
self.isLoading = false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ extension MediaView {
|
|||
}
|
||||
}
|
||||
} else if module.extractor == "pattern-mp4" || module.extractor == "pattern-HLS" {
|
||||
Logger.shared.log("extracting for pattern")
|
||||
Logger.shared.log("extracting for pattern-mp4/hls")
|
||||
let patternURL = extractPatternURL(from: html)
|
||||
guard let patternURL = patternURL else { return }
|
||||
|
||||
|
|
@ -91,6 +91,7 @@ extension MediaView {
|
|||
}
|
||||
}.resume()
|
||||
} else if module.extractor == "pattern" {
|
||||
Logger.shared.log("extracting for pattern")
|
||||
let patternURL = extractPatternURL(from: html)
|
||||
|
||||
DispatchQueue.main.async {
|
||||
|
|
|
|||
Loading…
Reference in a new issue