Skip to content

Commit

Permalink
Merge pull request #120 from xjasonlyu/fix
Browse files Browse the repository at this point in the history
修复了由于Jav123字段变更引起的BUG
  • Loading branch information
JavScraper authored Feb 19, 2021
2 parents 16414a1 + 7361081 commit 95df2bb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Emby.Plugins.JavScraper/Scrapers/Jav123.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ string GetCover()

List<string> GetGenres()
{
var v = GetValue("标签");
var v = GetValue("ジャンル");
if (string.IsNullOrWhiteSpace(v))
return null;
return v.Split(',').Select(o => o.Trim()).Distinct().ToList();
}

List<string> GetActors()
{
var v = GetValue("女优");
var v = GetValue("出演者");
if (string.IsNullOrWhiteSpace(v))
return null;
var ac = v.Split(',').Select(o => o.Trim()).Distinct().ToList();
Expand All @@ -180,11 +180,11 @@ List<string> GetSamples()
Url = url,
Title = node.SelectSingleNode(".//h3/text()")?.InnerText?.Trim(),
Cover = GetCover(),
Num = GetValue("番号")?.ToUpper(),
Date = GetValue("发行日期"),
Runtime = GetValue("播放时长"),
Maker = GetValue("片商"),
Studio = GetValue("片商"),
Num = GetValue("品番")?.ToUpper(),
Date = GetValue("配信開始日"),
Runtime = GetValue("収録時間"),
Maker = GetValue("メーカー"),
Studio = GetValue("メーカー"),
Set = GetValue("系列"),
Director = GetValue("导演"),
Genres = GetGenres(),
Expand Down

0 comments on commit 95df2bb

Please sign in to comment.