Skip to content

Commit

Permalink
Add domains to base extractor. (Fixes providers)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry08 committed Jul 31, 2024
1 parent 5423527 commit b5a4b65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Juro.Providers/Anime/AnimeBaseProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class AnimeBaseProvider(IHttpClientFactory httpClientFactory) : IVideoExt
"playtaku.net"
or "goone.pro"
or "embtaku.pro"
or "embtaku.com"
or "s3taku.com"
=> new GogoCDNExtractor(_httpClientFactory),
"alions.pro" => new ALionsExtractor(_httpClientFactory),
"awish.pro" => new AWishExtractor(_httpClientFactory),
Expand Down
8 changes: 4 additions & 4 deletions Juro.Providers/Manga/MangaKakalot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,13 @@ public async ValueTask<IMangaInfo> GetMangaInfoAsync(
Title = title,
Number = int.TryParse(chapNum, out var num) ? num : count,
Views = el.SelectSingleNode(
".//span[@class='chapter-view text-nowrap']"
)
".//span[@class='chapter-view text-nowrap']"
)
?.InnerText?.Replace(Environment.NewLine, "")
.Trim(),
ReleasedDate = el.SelectSingleNode(
".//span[@class='chapter-time text-nowrap']"
)
".//span[@class='chapter-time text-nowrap']"
)
?.Attributes["title"]
?.Value
};
Expand Down

0 comments on commit b5a4b65

Please sign in to comment.