Update ChineseNfoRegistry to use HTTP instead of HTTPS for API and image URLs
This commit is contained in:
@@ -32,7 +32,7 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
||||
}
|
||||
|
||||
_client = new HttpClient(httpClientHandler);
|
||||
_client.BaseAddress = new Uri("https://api.themoviedb.org");
|
||||
_client.BaseAddress = new Uri("http://api.themoviedb.org");
|
||||
|
||||
Schedule(() => Job(true, true)).ToRunEvery(1).Days();
|
||||
}
|
||||
@@ -190,7 +190,7 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
||||
|
||||
if(!string.IsNullOrEmpty(poster))
|
||||
{
|
||||
poster = $"https://image.tmdb.org/t/p/w1280/{poster}";
|
||||
poster = $"http://image.tmdb.org/t/p/w1280/{poster}";
|
||||
// 下载并覆盖海报
|
||||
var posterPath = tvShowFile.Replace("tvshow.nfo", $"poster.{poster.Split('.').Last()}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user