diff --git a/src/rust/mangastream/Cargo.lock b/src/rust/mangastream/Cargo.lock index d015a80f1..a28f60d8c 100644 --- a/src/rust/mangastream/Cargo.lock +++ b/src/rust/mangastream/Cargo.lock @@ -405,6 +405,14 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "tenshi" +version = "0.1.0" +dependencies = [ + "aidoku", + "mangastream_template", +] + [[package]] name = "unicode-ident" version = "1.0.10" diff --git a/src/rust/mangastream/sources/aresmanga/res/source.json b/src/rust/mangastream/sources/aresmanga/res/source.json index 28308e679..f0d2358a1 100644 --- a/src/rust/mangastream/sources/aresmanga/res/source.json +++ b/src/rust/mangastream/sources/aresmanga/res/source.json @@ -3,8 +3,8 @@ "id": "ar.aresmanga", "lang": "ar", "name": "AresManga", - "version": 3, - "url": "https://aresmanga.net" + "version": 4, + "url": "https://aresnov.org" }, "listings": [ { diff --git a/src/rust/mangastream/sources/aresmanga/src/lib.rs b/src/rust/mangastream/sources/aresmanga/src/lib.rs index eb1ffb1d8..a5a9cfb1d 100644 --- a/src/rust/mangastream/sources/aresmanga/src/lib.rs +++ b/src/rust/mangastream/sources/aresmanga/src/lib.rs @@ -9,13 +9,12 @@ use mangastream_template::template::MangaStreamSource; fn get_instance() -> MangaStreamSource { MangaStreamSource { listing: ["الرائج", "آخر", "جَديد"], - base_url: String::from("https://aresmanga.net"), + base_url: String::from("https://aresnov.org"), last_page_text: "التالي", traverse_pathname: "series", manga_details_author: ".imptdt:contains(المؤلف) i", chapter_date_format: "MMMM d, yyyy", locale: "ar_EH", - alt_pages: true, ..Default::default() } } diff --git a/src/rust/mangastream/sources/manhwafreakmanga/res/source.json b/src/rust/mangastream/sources/manhwafreakmanga/res/source.json index 1cf6573df..81600de78 100644 --- a/src/rust/mangastream/sources/manhwafreakmanga/res/source.json +++ b/src/rust/mangastream/sources/manhwafreakmanga/res/source.json @@ -3,8 +3,8 @@ "id": "en.manhwafreakmanga", "lang": "en", "name": "Manhwa Freak Manga", - "version": 1, - "url": "https://manhwa-freak.com" + "version": 2, + "url": "https://freakcomic.com" }, "listings": [ { diff --git a/src/rust/mangastream/sources/manhwafreakmanga/src/lib.rs b/src/rust/mangastream/sources/manhwafreakmanga/src/lib.rs index 1c6abe0d5..018f70628 100644 --- a/src/rust/mangastream/sources/manhwafreakmanga/src/lib.rs +++ b/src/rust/mangastream/sources/manhwafreakmanga/src/lib.rs @@ -8,7 +8,7 @@ use mangastream_template::template::MangaStreamSource; fn get_instance() -> MangaStreamSource { MangaStreamSource { - base_url: String::from("https://manhwa-freak.com"), + base_url: String::from("https://freakcomic.com"), alt_pages: true, ..Default::default() } diff --git a/src/rust/mangastream/sources/masterkomik/res/Icon.png b/src/rust/mangastream/sources/masterkomik/res/Icon.png deleted file mode 100644 index 5e2a67eb2..000000000 Binary files a/src/rust/mangastream/sources/masterkomik/res/Icon.png and /dev/null differ diff --git a/src/rust/mangastream/sources/rawkuma/res/source.json b/src/rust/mangastream/sources/rawkuma/res/source.json index 750a22f00..d001dd3c9 100644 --- a/src/rust/mangastream/sources/rawkuma/res/source.json +++ b/src/rust/mangastream/sources/rawkuma/res/source.json @@ -3,7 +3,7 @@ "id": "ja.rawkuma", "lang": "ja", "name": "Rawkuma", - "version": 1, + "version": 2, "url": "https://rawkuma.com" }, "listings": [ diff --git a/src/rust/mangastream/sources/rawkuma/src/lib.rs b/src/rust/mangastream/sources/rawkuma/src/lib.rs index d74847e21..dc2c0d7d2 100644 --- a/src/rust/mangastream/sources/rawkuma/src/lib.rs +++ b/src/rust/mangastream/sources/rawkuma/src/lib.rs @@ -10,6 +10,7 @@ fn get_instance() -> MangaStreamSource { MangaStreamSource { base_url: String::from("https://rawkuma.com"), protocol: true, + alt_pages: true, ..Default::default() } } diff --git a/src/rust/mangastream/sources/masterkomik/Cargo.toml b/src/rust/mangastream/sources/tenshi/Cargo.toml similarity index 91% rename from src/rust/mangastream/sources/masterkomik/Cargo.toml rename to src/rust/mangastream/sources/tenshi/Cargo.toml index 0497a19cc..0c5228d70 100644 --- a/src/rust/mangastream/sources/masterkomik/Cargo.toml +++ b/src/rust/mangastream/sources/tenshi/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "masterkomik" +name = "tenshi" version = "0.1.0" edition = "2021" publish = false diff --git a/src/rust/mangastream/sources/tenshi/res/Icon.png b/src/rust/mangastream/sources/tenshi/res/Icon.png new file mode 100644 index 000000000..288f1b346 Binary files /dev/null and b/src/rust/mangastream/sources/tenshi/res/Icon.png differ diff --git a/src/rust/mangastream/sources/masterkomik/res/filters.json b/src/rust/mangastream/sources/tenshi/res/filters.json similarity index 58% rename from src/rust/mangastream/sources/masterkomik/res/filters.json rename to src/rust/mangastream/sources/tenshi/res/filters.json index 95a399a41..125bf41c1 100644 --- a/src/rust/mangastream/sources/masterkomik/res/filters.json +++ b/src/rust/mangastream/sources/tenshi/res/filters.json @@ -9,333 +9,273 @@ { "type": "genre", "name": "4-Koma", - "id": "2268" - }, - { - "type": "genre", - "name": "AC", - "id": "6286" - }, - { + "id": "310" + }, + { "type": "genre", "name": "Action", - "id": "14" - }, - { + "id": "2" + }, + { "type": "genre", "name": "Adult", - "id": "3574" - }, - { + "id": "996" + }, + { "type": "genre", "name": "Adventure", - "id": "15" - }, - { + "id": "3" + }, + { "type": "genre", "name": "Comedy", - "id": "2" - }, - { + "id": "4" + }, + { "type": "genre", "name": "Cooking", - "id": "772" - }, - { + "id": "146" + }, + { "type": "genre", "name": "Crime", - "id": "3741" - }, - { + "id": "945" + }, + { "type": "genre", "name": "Demons", - "id": "45" - }, - { + "id": "28" + }, + { "type": "genre", "name": "Drama", - "id": "11" - }, - { + "id": "20" + }, + { "type": "genre", "name": "Ecchi", - "id": "28" - }, - { + "id": "47" + }, + { "type": "genre", "name": "Fantasy", - "id": "16" - }, - { + "id": "5" + }, + { "type": "genre", "name": "Game", - "id": "84" - }, - { + "id": "23" + }, + { "type": "genre", "name": "Gender Bender", - "id": "74" - }, - { + "id": "80" + }, + { "type": "genre", "name": "Gore", - "id": "3354" - }, - { + "id": "284" + }, + { "type": "genre", "name": "Harem", - "id": "29" - }, - { + "id": "8" + }, + { "type": "genre", "name": "Historical", - "id": "24" - }, - { + "id": "72" + }, + { "type": "genre", "name": "Horror", - "id": "136" - }, - { + "id": "11" + }, + { "type": "genre", "name": "Isekai", - "id": "17" - }, - { + "id": "42" + }, + { "type": "genre", "name": "Josei", - "id": "1155" - }, - { - "type": "genre", - "name": "Loli", - "id": "4596" - }, - { - "type": "genre", - "name": "Lolicon", - "id": "6353" - }, - { + "id": "200" + }, + { "type": "genre", "name": "Magic", - "id": "41" - }, - { + "id": "30" + }, + { "type": "genre", "name": "Manhwa", - "id": "6103" - }, - { - "type": "genre", - "name": "Martial Art", - "id": "3753" - }, - { + "id": "1415" + }, + { "type": "genre", "name": "Martial Arts", - "id": "18" - }, - { - "type": "genre", - "name": "Matrial Arts", - "id": "6151" - }, - { + "id": "21" + }, + { "type": "genre", "name": "Mature", - "id": "43" - }, - { + "id": "75" + }, + { "type": "genre", "name": "Mecha", - "id": "111" - }, - { + "id": "216" + }, + { "type": "genre", "name": "Medical", - "id": "3386" - }, - { + "id": "182" + }, + { "type": "genre", "name": "Military", - "id": "1476" - }, - { + "id": "96" + }, + { "type": "genre", "name": "Monsters", - "id": "4647" - }, - { + "id": "868" + }, + { "type": "genre", "name": "Music", - "id": "146" - }, - { + "id": "31" + }, + { "type": "genre", "name": "Mystery", - "id": "99" - }, - { + "id": "12" + }, + { "type": "genre", "name": "One-Shot", - "id": "50" - }, - { + "id": "36" + }, + { "type": "genre", - "name": "Oneshot", - "id": "6029" - }, - { + "name": "Parody", + "id": "808" + }, + { "type": "genre", "name": "Police", - "id": "5269" - }, - { + "id": "188" + }, + { "type": "genre", "name": "Psychological", - "id": "90" - }, - { + "id": "49" + }, + { "type": "genre", "name": "Reincarnation", - "id": "4017" - }, - { + "id": "24" + }, + { "type": "genre", "name": "Romance", - "id": "3" - }, - { + "id": "9" + }, + { "type": "genre", "name": "School", - "id": "12" - }, - { + "id": "210" + }, + { "type": "genre", "name": "School Life", - "id": "566" - }, - { + "id": "38" + }, + { "type": "genre", "name": "Sci-fi", - "id": "85" - }, - { + "id": "13" + }, + { "type": "genre", "name": "Seinen", - "id": "36" - }, - { - "type": "genre", - "name": "Seinin", - "id": "5953" - }, - { - "type": "genre", - "name": "Shotacon", - "id": "4033" - }, - { + "id": "14" + }, + { "type": "genre", "name": "Shoujo", - "id": "53" - }, - { + "id": "55" + }, + { "type": "genre", "name": "Shoujo Ai", - "id": "31" - }, - { + "id": "154" + }, + { "type": "genre", "name": "Shounen", - "id": "5" - }, - { + "id": "6" + }, + { "type": "genre", "name": "Shounen Ai", - "id": "2479" - }, - { - "type": "genre", - "name": "Si-Fi", - "id": "3717" - }, - { + "id": "1676" + }, + { "type": "genre", "name": "Slice of Life", - "id": "13" - }, - { - "type": "genre", - "name": "Smut", - "id": "4630" - }, - { - "type": "genre", - "name": "Space", - "id": "6498" - }, - { + "id": "32" + }, + { "type": "genre", "name": "Sports", - "id": "265" - }, - { + "id": "122" + }, + { "type": "genre", "name": "Super Power", - "id": "103" - }, - { + "id": "232" + }, + { "type": "genre", "name": "Supernatural", - "id": "19" - }, - { + "id": "15" + }, + { "type": "genre", "name": "System", - "id": "4331" - }, - { + "id": "812" + }, + { "type": "genre", "name": "Thriller", - "id": "143" - }, - { - "type": "genre", - "name": "Time Travel", - "id": "5059" - }, - { + "id": "204" + }, + { "type": "genre", "name": "Tragedy", - "id": "20" - }, - { + "id": "16" + }, + { "type": "genre", "name": "Vampire", - "id": "634" - }, - { + "id": "139" + }, + { "type": "genre", "name": "Webtoons", - "id": "71" - }, - { - "type": "genre", - "name": "Yaoi", - "id": "4557" - }, - { + "id": "27" + }, + { "type": "genre", "name": "Yuri", - "id": "75" - }, - { + "id": "155" + }, + { "type": "genre", "name": "Zombie", - "id": "4191" - } + "id": "918" + } ] }, { diff --git a/src/rust/mangastream/sources/masterkomik/res/source.json b/src/rust/mangastream/sources/tenshi/res/source.json similarity index 54% rename from src/rust/mangastream/sources/masterkomik/res/source.json rename to src/rust/mangastream/sources/tenshi/res/source.json index f96e677bf..246e1c1a2 100644 --- a/src/rust/mangastream/sources/masterkomik/res/source.json +++ b/src/rust/mangastream/sources/tenshi/res/source.json @@ -1,11 +1,10 @@ { "info": { - "id": "id.masterkomik", + "id": "id.tenshi", "lang": "id", - "name": "MasterKomik", - "version": 2, - "nfsw": 1, - "url": "https://masterkomik.com/" + "name": "Tenshi", + "version": 1, + "url": "https://tenshi.id" }, "listings": [ { diff --git a/src/rust/mangastream/sources/masterkomik/src/lib.rs b/src/rust/mangastream/sources/tenshi/src/lib.rs similarity index 94% rename from src/rust/mangastream/sources/masterkomik/src/lib.rs rename to src/rust/mangastream/sources/tenshi/src/lib.rs index 6a06122b6..94f607911 100644 --- a/src/rust/mangastream/sources/masterkomik/src/lib.rs +++ b/src/rust/mangastream/sources/tenshi/src/lib.rs @@ -8,8 +8,9 @@ use mangastream_template::template::MangaStreamSource; fn get_instance() -> MangaStreamSource { MangaStreamSource { - base_url: String::from("https://masterkomik.com/"), + base_url: String::from("https://tenshi.id"), chapter_date_format: "MMMM d, yyyy", + traverse_pathname: "komik", alt_pages: true, locale: "id", ..Default::default()