Skip to content

Commit

Permalink
fix: iqiyi miss some episodes
Browse files Browse the repository at this point in the history
  • Loading branch information
cxfksword committed May 22, 2024
1 parent 7e2b62d commit fd930b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jellyfin.Plugin.Danmu.Test/IqiyiApiTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void TestGetVideo()
{
try
{
var id = "25f5iplvm8s"; // 综艺
var id = "o5e8yl8378"; // 综艺
// var id = "19tfhh8axvc"; // 电视剧
// var id = "1e54n0pt5ro"; // 电影
var result = await api.GetVideoAsync(id, CancellationToken.None);
Expand Down
2 changes: 1 addition & 1 deletion Jellyfin.Plugin.Danmu.Test/IqiyiTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void TestGetEpisodesForApi()
{
try
{
var id = "25f5iplvm8s"; // 综艺
var id = "o5e8yl8378"; // 综艺
// var id = "19tfhh8axvc"; // 电视剧
// var id = "1e54n0pt5ro"; // 电影
var result = await api.GetEpisodesForApi(id);
Expand Down
2 changes: 1 addition & 1 deletion Jellyfin.Plugin.Danmu/Scrapers/Iqiyi/IqiyiApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public async Task<List<IqiyiEpisode>> GetZongyiEpisodesAsync(string albumId, Can
}

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");
Expand Down

0 comments on commit fd930b7

Please sign in to comment.