mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-15 11:21:11 +00:00
Merge pull request #256 from NBA2K1/main
AniWorld + SerienStream filter out pseudo authors
This commit is contained in:
@@ -7,7 +7,7 @@ const mangayomiSources = [{
|
|||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"itemType": 1,
|
"itemType": 1,
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.3.7",
|
"version": "0.3.8",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
"dateFormatLocale": "",
|
"dateFormatLocale": "",
|
||||||
"pkgPath": "anime/src/de/aniworld.js"
|
"pkgPath": "anime/src/de/aniworld.js"
|
||||||
@@ -122,7 +122,11 @@ class DefaultExtension extends MProvider {
|
|||||||
.filter(e => e.outerHtml.includes("Produzent:"));
|
.filter(e => e.outerHtml.includes("Produzent:"));
|
||||||
let author = "";
|
let author = "";
|
||||||
if (produzent.length > 0) {
|
if (produzent.length > 0) {
|
||||||
author = produzent[0].select("li").map(e => e.text).join(", ");
|
author = produzent[0]
|
||||||
|
.select("li")
|
||||||
|
.map((e) => e.text)
|
||||||
|
.filter((text) => !/^\s\&\s\d+\sweitere$/.test(text))
|
||||||
|
.join(", ");
|
||||||
}
|
}
|
||||||
const seasonsElements = document.select("#stream > ul:nth-child(1) > li > a");
|
const seasonsElements = document.select("#stream > ul:nth-child(1) > li > a");
|
||||||
// Use asyncPool to limit concurrency while processing seasons
|
// Use asyncPool to limit concurrency while processing seasons
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ const mangayomiSources = [{
|
|||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"itemType": 1,
|
"itemType": 1,
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.8",
|
"version": "0.0.9",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
"dateFormatLocale": "",
|
"dateFormatLocale": "",
|
||||||
"pkgPath": "anime/src/de/serienstream.js"
|
"pkgPath": "anime/src/de/serienstream.js"
|
||||||
@@ -122,7 +122,11 @@ class DefaultExtension extends MProvider {
|
|||||||
.filter(e => e.outerHtml.includes("Produzent:"));
|
.filter(e => e.outerHtml.includes("Produzent:"));
|
||||||
let author = "";
|
let author = "";
|
||||||
if (produzent.length > 0) {
|
if (produzent.length > 0) {
|
||||||
author = produzent[0].select("li").map(e => e.text).join(", ");
|
author = produzent[0]
|
||||||
|
.select("li")
|
||||||
|
.map((e) => e.text)
|
||||||
|
.filter((text) => !/^\s\&\s\d+\sweitere$/.test(text))
|
||||||
|
.join(", ");
|
||||||
}
|
}
|
||||||
const seasonsElements = document.select("#stream > ul:nth-child(1) > li > a");
|
const seasonsElements = document.select("#stream > ul:nth-child(1) > li > a");
|
||||||
// Use asyncPool to limit concurrency while processing seasons
|
// Use asyncPool to limit concurrency while processing seasons
|
||||||
|
|||||||
Reference in New Issue
Block a user