Migrate the chapter importer to Swift.
This commit is contained in:
1 parent
514ab21fb7
commit
23f626be9f
10 files changed
+317
-44
No files matched your search
@@ -254,7 +254,7 @@ final public class TheTVDBService {
|
||||
// MARK: - Service calls
|
||||
|
||||
public func fetch(series: String, language: String) -> [SeriesSearchResult] {
|
||||
let encodedName = SBMetadataHelper.urlEncoded(series)
|
||||
let encodedName = series.urlEncoded()
|
||||
|
||||
guard let url = URL(string: basePath + "search/series?name=" + encodedName),
|
||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[SeriesSearchResult]>.self)
|
||||
|
||||
Reference in new issue
Block a user