mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-10 11:58:19 +02:00
Update MangaHere bad ManhuaPlus to v2 architecture
This commit is contained in:
@@ -101,7 +101,7 @@ public class MangaHere : MangaConnector
|
|||||||
.SelectSingleNode("//p[contains(concat(' ',normalize-space(@class),' '),' fullcontent ')]");
|
.SelectSingleNode("//p[contains(concat(' ',normalize-space(@class),' '),' fullcontent ')]");
|
||||||
string description = descriptionNode.InnerText;
|
string description = descriptionNode.InnerText;
|
||||||
|
|
||||||
Manga manga = new(sortName, authors.ToList(), description, altTitles, tags.ToArray(), posterUrl,
|
Manga manga = new(this, sortName, authors.ToList(), description, altTitles, tags.ToArray(), posterUrl,
|
||||||
coverFileNameInCache, links,
|
coverFileNameInCache, links,
|
||||||
null, originalLanguage, publicationId, releaseStatus, websiteUrl: websiteUrl);
|
null, originalLanguage, publicationId, releaseStatus, websiteUrl: websiteUrl);
|
||||||
AddMangaToCache(manga);
|
AddMangaToCache(manga);
|
||||||
|
@@ -112,7 +112,7 @@ public class ManhuaPlus : MangaConnector
|
|||||||
.SelectSingleNode("//div[@id='syn-target']");
|
.SelectSingleNode("//div[@id='syn-target']");
|
||||||
string description = descriptionNode.InnerText;
|
string description = descriptionNode.InnerText;
|
||||||
|
|
||||||
Manga manga = new(sortName, authors.ToList(), description, altTitles, tags.ToArray(), posterUrl,
|
Manga manga = new(this, sortName, authors.ToList(), description, altTitles, tags.ToArray(), posterUrl,
|
||||||
coverFileNameInCache, links,
|
coverFileNameInCache, links,
|
||||||
year, originalLanguage, publicationId, releaseStatus, websiteUrl: websiteUrl);
|
year, originalLanguage, publicationId, releaseStatus, websiteUrl: websiteUrl);
|
||||||
AddMangaToCache(manga);
|
AddMangaToCache(manga);
|
||||||
|
Reference in New Issue
Block a user