mirror of
https://github.com/cxfksword/jellyfin-plugin-danmu.git
synced 2026-07-27 00:41:07 +08:00
chore: update renren episode url
This commit is contained in:
@@ -27,7 +27,14 @@ public class ExternalUrlProvider : IExternalUrlProvider
|
||||
case Episode episode:
|
||||
if (DanmuProviderId.TryGet(item, Renren.ScraperProviderId, out externalId))
|
||||
{
|
||||
yield return $"#";
|
||||
if (episode.Season != null && DanmuProviderId.TryGet(episode.Season, Renren.ScraperProviderId, out var seasonExternalId))
|
||||
{
|
||||
yield return $"https://mh.yichengwlkj.com/pc/drama/{seasonExternalId}?episodeNo={episode.IndexNumber}";
|
||||
}
|
||||
else
|
||||
{
|
||||
yield return "#";
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user