fix(chapterdb): change ChapterDB base url to chapterdb.plex.tv
This commit is contained in:
1 parent
b609743211
commit
3aebb2f06d
4 files changed
+5
-5
No files matched your search
@@ -12,7 +12,7 @@ public struct ChapterDB : ChapterService {
|
||||
|
||||
public func search(title: String, duration: UInt64) -> [ChapterResult] {
|
||||
|
||||
guard let url = URL(string: "http://chapterdb.org/chapters/search?title=\(title.urlEncoded())"),
|
||||
guard let url = URL(string: "http://chapterdb.plex.tv/chapters/search?title=\(title.urlEncoded())"),
|
||||
let data = fetch(url: url)
|
||||
else { return [] }
|
||||
|
||||
@@ -28,7 +28,7 @@ public struct ChapterDB : ChapterService {
|
||||
}
|
||||
|
||||
private func fetchDetails(id: UInt64) -> [Chapter]? {
|
||||
guard let url = URL(string: "http://chapterdb.org/chapters/\(id)"),
|
||||
guard let url = URL(string: "http://chapterdb.plex.tv/chapters/\(id)"),
|
||||
let data = fetch(url: url)
|
||||
else { return [] }
|
||||
|
||||
|
||||
Reference in new issue
Block a user