fix: iqiyi miss some episodes

This commit is contained in:
cxfksword
2024-05-22 20:15:41 +08:00
parent 4a4b0b6a3a
commit 3224e9574c
3 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ namespace Jellyfin.Plugin.Danmu.Test
{
try
{
var id = "25f5iplvm8s"; // 综艺
var id = "o5e8yl8378"; // 综艺
// var id = "19tfhh8axvc"; // 电视剧
// var id = "1e54n0pt5ro"; // 电影
var result = await api.GetVideoAsync(id, CancellationToken.None);

View File

@@ -186,7 +186,7 @@ namespace Jellyfin.Plugin.Danmu.Test
{
try
{
var id = "25f5iplvm8s"; // 综艺
var id = "o5e8yl8378"; // 综艺
// var id = "19tfhh8axvc"; // 电视剧
// var id = "1e54n0pt5ro"; // 电影
var result = await api.GetEpisodesForApi(id);

View File

@@ -204,7 +204,7 @@ public class IqiyiApi : AbstractApi
}
var list = new List<IqiyiVideoListInfo>();
for (var begin = startDate; begin <= endDate; begin = begin.AddMonths(1))
for (var begin = startDate; begin.Month <= endDate.Month; begin = begin.AddMonths(1))
{
var year = begin.Year;
var month = begin.ToString("MM");