mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-14 07:17:54 +02:00
Fix redundant keys, MangaSearch
This commit is contained in:
@ -111,9 +111,9 @@ public class AsuraToon : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
[]);
|
||||
|
||||
|
@ -113,11 +113,11 @@ public class Bato : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
altTitles.Select(a => a.AltTitleId).ToArray());
|
||||
altTitles);
|
||||
|
||||
return (manga, authors, mangaTags, [], altTitles);
|
||||
}
|
||||
|
@ -176,11 +176,11 @@ public class MangaDex : MangaConnector
|
||||
|
||||
Manga pub = new (publicationId, sortName, description, $"https://mangadex.org/title/{publicationId}", coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
links.Select(l => l.LinkId).ToArray(),
|
||||
altTitles.Select(a => a.AltTitleId).ToArray());
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
links,
|
||||
altTitles);
|
||||
|
||||
return (pub, authors, mangaTags, links, altTitles);
|
||||
}
|
||||
|
@ -101,9 +101,9 @@ public class MangaHere : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, 0,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
[]);
|
||||
|
||||
|
@ -141,11 +141,11 @@ public class MangaKatana : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
altTitles.Select(a => a.AltTitleId).ToArray());
|
||||
altTitles);
|
||||
|
||||
return (manga, authors, mangaTags, [], altTitles);
|
||||
}
|
||||
|
@ -120,9 +120,9 @@ public class MangaLife : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
[]);
|
||||
|
||||
|
@ -136,11 +136,11 @@ public class Manganato : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
mangaAltTitles.Select(a => a.AltTitleId).ToArray());
|
||||
mangaAltTitles);
|
||||
|
||||
return (manga, authors, mangaTags, [], mangaAltTitles);
|
||||
}
|
||||
|
@ -150,9 +150,9 @@ public class Mangasee : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
[]);
|
||||
|
||||
|
@ -118,11 +118,11 @@ public class Mangaworld : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
altTitles.Select(a => a.AltTitleId).ToArray());
|
||||
altTitles);
|
||||
|
||||
return (manga, authors, mangaTags, [], altTitles);
|
||||
}
|
||||
|
@ -123,9 +123,9 @@ public class ManhuaPlus : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
[]);
|
||||
|
||||
|
@ -114,11 +114,11 @@ public class Weebcentral : MangaConnector
|
||||
|
||||
Manga manga = new (publicationId, sortName, description, websiteUrl, coverUrl, null, year,
|
||||
originalLanguage, releaseStatus, -1, null, null,
|
||||
this.Name,
|
||||
authors.Select(a => a.AuthorId).ToArray(),
|
||||
mangaTags.Select(t => t.Tag).ToArray(),
|
||||
this,
|
||||
authors,
|
||||
mangaTags,
|
||||
[],
|
||||
altTitles.Select(a => a.AltTitleId).ToArray());
|
||||
altTitles);
|
||||
|
||||
return (manga, authors, mangaTags, [], altTitles);
|
||||
}
|
||||
|
Reference in New Issue
Block a user