Commit 05270711 authored by Duhoux Pierre-Louis's avatar Duhoux Pierre-Louis

Add chapter_url on all implementations, fix mangahost, mangalel, scanfr hosts and protocol

parent 510c03f8
Pipeline #39388085 passed with stages
in 1 minute and 38 seconds
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["atelierdunoir.org"],
home: "http://atelierdunoir.org/",
chapter_url: /^\/reader\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://atelierdunoir.org/reader",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.bangaqua.com"],
home: "http://bangaqua.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.bangaqua.com",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.thecatscans.com"],
home: "http://reader.thecatscans.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.thecatscans.com",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.championscans.com"],
home: "http://reader.championscans.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.championscans.com",
......
......@@ -5,6 +5,7 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["www.cmreader.info"],
home: "http://www.cmreader.info/",
chapter_url: /^\/manga\/.*\/.*$/g,
abstract: "MyMangaReaderCMS",
abstract_options: {
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.dkthias.com"],
home: "http://reader.dkthias.com/",
chapter_url: /^\/reader\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.dkthias.com",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["damn-feels.com"],
home: "http://www.damn-feels.com",
chapter_url: /^\/reader\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://damn-feels.com/reader",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.deathtollscans.net"],
home: "https://reader.deathtollscans.net/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://reader.deathtollscans.net",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages : "cn",
domains: ["www.dm5.com"],
home: "https://www.dm5.com/",
chapter_url: /^\/m[0-9]+\/$/g,
test_options: {
images_restricted_domain: true
},
......
......@@ -5,6 +5,7 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["kobato.hologfx.com"],
home: "https://kobato.hologfx.com/",
chapter_url: /^\/reader\/read\/.*$/g,
canListFullMangas: false, /* to avoid loading 4 pages to load all mangas */
abstract: "FoolSlide",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["dokusha.info"],
home: "http://dokusha.info",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://dokusha.info",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["dynasty-scans.com"],
home: "https://dynasty-scans.com/",
chapter_url: /^\/chapters\/.*$/g,
getMangaList : async function (search) {
let doc = await amr.loadPage("https://dynasty-scans.com/series", { nocache: true, preventimages: true })
let res = [];
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["*.egscans.org", "*.egscans.com"],
home: "https://egscans.com/",
/*no chapter_url, all urls are /any/ will be loaded everywhere... */
getMangaList : async function (search) {
let doc = await amr.loadPage("http://read.egscans.com/", { nocache: true, preventimages: true })
let res = [];
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["elpsykongroo.pw"],
home: "https://elpsykongroo.pw",
chapter_url: /^\/r\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://elpsykongroo.pw/r",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
domains: ["reader.evilflowers.com"],
home: "http://reader.evilflowers.com",
canListFullMangas: false, /* to avoid loading 8 pages to load all mangas */
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.evilflowers.com",
......
......@@ -4,11 +4,12 @@ if (typeof registerMangaObject === 'function') {
mirrorIcon: "fallenangels.png",
languages: "en",
domains: ["manga.fascans.com"],
home: "http://manga.fascans.com/",
home: "https://manga.fascans.com/",
chapter_url: /^\/manga\/.*\/.*$/g,
abstract: "MyMangaReaderCMS",
abstract_options: {
base_url: "http://manga.fascans.com"
base_url: "https://manga.fascans.com"
}
})
}
\ No newline at end of file
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.fos-scans.com"],
home: "http://fos-scans.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.fos-scans.com",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["www.funmanga.com"],
home: "http://www.funmanga.com",
chapter_url: /^\/.*\/[0-9]+\/.*$/g,
abstract: "FunMangaAbs",
abstract_options: {
search_url: "http://www.funmanga.com/service/advanced_search",
......
......@@ -5,6 +5,7 @@ if (typeof registerMangaObject === 'function') {
languages : "pt",
domains: ["leitor.mangascenter.com.br"],
home: "http://leitor.mangascenter.com.br",
chapter_url: /^\/read\/.*$/g,
canListFullMangas: false, /* to avoid loading 8 pages to load all mangas */
abstract: "FoolSlide",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["www.goodmanga.net"],
home: "http://www.goodmanga.net/",
chapter_url: /^\/.*\/chapter\/.*$/g,
getMangaList : async function (search) {
let doc = await amr.loadPage(
"http://www.goodmanga.net/manga-search?key=" + search + "&search=Go",
......
......@@ -5,6 +5,7 @@ if (typeof registerMangaObject === 'function') {
languages : "it",
domains: ["hastareader.com"],
home: "https://hastareader.com/",
chapter_url: /^\/slide\/read\/.*$/g,
canListFullMangas: false, /* to avoid loading 8 pages to load all mangas */
abstract: "FoolSlide",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["www.hatigarmscans.net"],
home: "http://www.hatigarmscans.net/",
chapter_url: /^\/manga\/.*\/.*$/g,
abstract: "MyMangaReaderCMS",
abstract_options: {
base_url: "http://www.hatigarmscans.net"
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["helveticascans.com"],
home: "https://helveticascans.com/",
chapter_url: /^\/r\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://helveticascans.com/r",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["hotchocolatescans.com"],
home: "http://hotchocolatescans.com/",
chapter_url: /^\/fs\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://hotchocolatescans.com/fs",
......
......@@ -5,6 +5,7 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["jaiminisbox.com"],
home: "https://jaiminisbox.com/",
chapter_url: /^\/reader\/read\/.*$/g,
canListFullMangas: false, /* to avoid loading 3 pages to load all mangas */
abstract: "FoolSlide",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "fr",
domains: ["kangaryu-team.fr"],
home: "http://kangaryu-team.fr/",
chapter_url: /^\/reader\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://kangaryu-team.fr/reader",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.kireicake.com"],
home: "https://kireicake.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://reader.kireicake.com",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.letitgo.scans.today"],
home: "http://letitgo-scans.blogspot.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.letitgo.scans.today",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.holylolikingdom.net"],
home: "http://www.holylolikingdom.net/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.holylolikingdom.net",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "ar",
domains: ["www.manga.ae"],
home: "https://www.manga.ae/",
chapter_url: /^\/.*\/[0-9]+.*$/g,
test_options: {
user_agent: "Mozilla/5.0"
},
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["www.mangahere.cc", "www.mangahere.co"],
home: "https://www.mangahere.cc/",
chapter_url: /\/manga\/.*\/.+\/.*/g,
getMangaList: async function (search) {
let doc = await amr.loadPage("https://www.mangahere.cc/search.php?name=" + search, { nocache: true, preventimages: true })
let res = []
......
......@@ -4,11 +4,12 @@ if (typeof registerMangaObject === 'function') {
canListFullMangas: false,
mirrorIcon: "mangahost.png",
languages: "br,pt",
domains: ["mangahost-br.cc"],
home: "https://mangahost-br.cc/",
domains: ["mangahost-br.cc", "mangahost1.com"],
home: "https://mangahost1.com/",
chapter_url: /\/manga\/.*\/.+/g,
getMangaList: async function (search) {
let doc = await amr.loadPage("https://mangahost-br.cc/find/" + search, {
let doc = await amr.loadPage("https://mangahost1.com/find/" + search, {
nocache: true,
preventimages: true
})
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["www.mangainn.net"],
home: "http://www.mangainn.net",
chapter_url: /^\/.*\/[0-9]+\/.*$/g,
abstract: "FunMangaAbs",
abstract_options: {
search_url: "http://www.mangainn.net/service/advanced_search",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages: "fr",
domains: ["www.manga-lel.com"],
home: "https://www.manga-lel.com/",
chapter_url: /\/manga\/.*\/.+/g,
abstract: "MyMangaReaderCMS",
abstract_options: {
base_url: "https://www.manga-lel.com"
......
......@@ -5,6 +5,7 @@ if (typeof registerMangaObject === 'function') {
mirrorIcon: "mangareader.png",
domains: ["www.mangareader.net"],
home: "https://www.mangareader.net/",
chapter_url: /\/.*\/[0-9]+.*/g,
languages: "en",
getMangaList: async function (search) {
......
......@@ -6,6 +6,7 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["mangarock.com"],
home: "https://mangarock.com/",
chapter_url: /\/manga\/.*\/chapter\/.*/g,
api: "https://api.mangarockhd.com/query/web401/",
getMangaList: async function (search) {
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["mangastream.com","readms.com","readms.net"],
home: "http://readms.net/",
chapter_url: /^\/r\/.+$/g,
getMangaList: async function (search) {
let doc = await amr.loadPage("https://readms.net/manga", { nocache: true, preventimages: true })
let res = [];
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "tr",
domains: ["www.mangaoku.net"],
home: "http://www.mangaoku.net/",
/*no chapter_url, all urls are /any/ will be loaded everywhere... */
getMangaList: async function (search) {
let doc = await amr.loadPage("http://www.mangaoku.net/", { nocache: true, preventimages: true })
let res = []
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["mangaichiscans.mokkori.fr"],
home: "http://mangaichiscans.mokkori.fr/",
chapter_url: /^\/fs\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://mangaichiscans.mokkori.fr/fs",
......
......@@ -5,6 +5,7 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["mangazuki.co"],
home: "https://mangazuki.co/",
chapter_url: /^\/fs\/read\/.*$/g,
canListFullMangas: true,
abstract: "MyMangaReaderCMS",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.naniscans.xyz"],
home: "https://naniscans.xyz/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://reader.naniscans.xyz",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["otscans.com"],
home: "https://otscans.com/",
chapter_url: /^\/foolslide\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://otscans.com/foolslide",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.serenade.moe"],
home: "https://serenade.moe/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://reader.serenade.moe",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === "function") {
languages: "ru",
domains: ["readmanga.me"],
home: "http://readmanga.me/",
chapter_url: /^\/.*\/vol.*\/[0-9]+.*$/g,
getMangaList: async function (search) {
let json = await amr.loadJson(
"http://readmanga.me/search/suggestion?query=" + search,
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["www.readmng.com"],
home: "https://www.readmng.com/",
chapter_url: /^\/.*\/[0-9]+\/.*$/g,
abstract: "FunMangaAbs",
abstract_options: {
search_url: "https://www.readmng.com/search",
......
......@@ -5,6 +5,7 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["readmanhua.net"],
home: "https://readmanhua.net/",
chapter_url: /^\/manga\/.*\/.*$/g,
canListFullMangas: true,
abstract: "MyMangaReaderCMS",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.roseliascans.com"],
home: "http://roseliascans.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://reader.roseliascans.com",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.s2smanga.com"],
home: "https://s2smanga.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://reader.s2smanga.com",
......
......@@ -4,11 +4,12 @@ if (typeof registerMangaObject === 'function') {
mirrorIcon: "scanfr.png",
languages: "fr",
domains: ["www.scan-fr.io", "scan-fr.io"],
home: "http://www.scan-fr.io/",
home: "https://www.scan-fr.io/",
chapter_url: /^\/manga\/.*\/.*$/g,
abstract: "MyMangaReaderCMS",
abstract_options: {
base_url: "http://www.scan-fr.io"
base_url: "https://www.scan-fr.io"
}
})
}
\ No newline at end of file
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "fr",
domains: ["scantrad.fr"],
home: "https://scantrad.fr/",
chapter_url: /^\/mangas\/.*\/[0-9]+.*$/g,
getMangaList: async function (search) {
let doc = await amr.loadPage("https://scantrad.fr/mangas", { nocache: true, preventimages: true })
let res = [];
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.seaotterscans.com"],
home: "https://seaotterscans.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://reader.seaotterscans.com",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["sensescans.com"],
home: "http://sensescans.com/",
chapter_url: /^\/reader\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://sensescans.com/reader",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["shoujohearts.com"],
home: "http://shoujohearts.com/",
chapter_url: /^\/reader\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://shoujohearts.com/reader",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "es",
domains: ["submanga.online", "submanga.com"],
home: "https://submanga.online/",
chapter_url: /^\/manga\/.*\/.*$/g,
getMangaList: async function (search) {
let doc = await amr.loadPage(
"https://submanga.online/mangas/buscar",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["taptaptaptaptap.net"],
home: "https://taptaptaptaptap.net/",
chapter_url: /^\/fs\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://taptaptaptaptap.net/fs/",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["www.twistedhelscans.com"],
home: "http://www.twistedhelscans.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://www.twistedhelscans.com",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["reader.vortex-scans.com"],
home: "https://vortex-scans.com/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "https://reader.vortex-scans.com",
......
......@@ -5,7 +5,8 @@ if (typeof registerMangaObject === 'function') {
languages : "en",
domains: ["www.slide.world-three.org"],
home: "http://www.world-three.org/",
chapter_url: /^\/read\/.*$/g,
abstract: "FoolSlide",
abstract_options: {
base_url: "http://www.slide.world-three.org",
......
......@@ -6,7 +6,8 @@ if (typeof registerMangaObject === 'function') {
languages: "en",
domains: ["www.mangapanda.com"],
home: "https://www.mangapanda.com/",
chapter_url: /^\/.*\/[0-9]+.*$/g,
getMangaList: async function (search) {
var urlManga = "https://www.mangapanda.com/search/?w=" + search;
let doc = await amr.loadPage(urlManga, { nocache: true, preventimages: true })
......
......@@ -38,6 +38,10 @@ global.registerMangaObject = function(object) {
if (object.abstract !== undefined) {
website.abstract = object.abstract
}
if (object.chapter_url) {
if (typeof object.chapter_url === "string") website.chapter_url = object.chapter_url
else if (object.chapter_url instanceof RegExp) website.chapter_url = object.chapter_url.toString()
}
websites.push(website)
let deps = []
for (let dep of deprecated) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment