diff --git a/Sora/Utils/Loader/JSController.swift b/Sora/Utils/Loader/JSController.swift index 836e196..e7d5dca 100644 --- a/Sora/Utils/Loader/JSController.swift +++ b/Sora/Utils/Loader/JSController.swift @@ -433,7 +433,7 @@ class JSController: ObservableObject { func fetchStreamUrlJSSecond(episodeUrl: String, completion: @escaping (String?) -> Void) { let url = URL(string: episodeUrl)! - let task = URLSession.shared.dataTask(with: url) { data, response, error in + let task = URLSession.custom.dataTask(with: url) { data, response, error in if let error = error { Logger.shared.log("URLSession error: \(error.localizedDescription)", type: "Error") DispatchQueue.main.async {