Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(flamescans)!: replace flamescans with flamecomics #497

Merged
merged 4 commits into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/rust/mangastream/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 49 additions & 49 deletions src/rust/mangastream/sources/alceascan/res/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,127 +10,127 @@
"type": "genre",
"name": "Action",
"id": "242"
},
{
},
{
"type": "genre",
"name": "Adult",
"id": "286"
},
{
},
{
"type": "genre",
"name": "Adventure",
"id": "254"
},
{
},
{
"type": "genre",
"name": "Comedy",
"id": "258"
},
{
},
{
"type": "genre",
"name": "Drama",
"id": "243"
},
{
},
{
"type": "genre",
"name": "Fantasy",
"id": "244"
},
{
},
{
"type": "genre",
"name": "Ghost",
"id": "304"
},
{
},
{
"type": "genre",
"name": "Historical",
"id": "273"
},
{
},
{
"type": "genre",
"name": "Horror",
"id": "265"
},
{
},
{
"type": "genre",
"name": "Josei",
"id": "255"
},
{
},
{
"type": "genre",
"name": "Martial Arts",
"id": "249"
},
{
},
{
"type": "genre",
"name": "Mature",
"id": "251"
},
{
},
{
"type": "genre",
"name": "Mystery",
"id": "256"
},
{
},
{
"type": "genre",
"name": "Occult",
"id": "305"
},
{
},
{
"type": "genre",
"name": "Psychological",
"id": "252"
},
{
},
{
"type": "genre",
"name": "Romance",
"id": "259"
},
{
},
{
"type": "genre",
"name": "School Life",
"id": "248"
},
{
},
{
"type": "genre",
"name": "Sci-fi",
"id": "250"
},
{
},
{
"type": "genre",
"name": "Seinen",
"id": "245"
},
{
},
{
"type": "genre",
"name": "Shoujo",
"id": "271"
},
{
},
{
"type": "genre",
"name": "Shounen",
"id": "247"
},
{
},
{
"type": "genre",
"name": "Slice of Life",
"id": "261"
},
{
},
{
"type": "genre",
"name": "Sports",
"id": "263"
},
{
},
{
"type": "genre",
"name": "Supernatural",
"id": "246"
},
{
},
{
"type": "genre",
"name": "Tragedy",
"id": "253"
}
}
]
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "flamescans"
name = "flamecomics"
version = "0.1.0"
edition = "2021"
publish = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"type": "group",
"name": "Tags",
"filters": [
{
"type": "genre",
"name": "Academy",
"id": "253",
"canExclude": true
},
{
"type": "genre",
"name": "Action",
Expand Down Expand Up @@ -78,6 +84,12 @@
"id": "19",
"canExclude": true
},
{
"type": "genre",
"name": "Ecchi comedy",
"id": "239",
"canExclude": true
},
{
"type": "genre",
"name": "Fantasy",
Expand Down Expand Up @@ -162,6 +174,12 @@
"id": "136",
"canExclude": true
},
{
"type": "genre",
"name": "Modern Fantasy",
"id": "217",
"canExclude": true
},
{
"type": "genre",
"name": "Monster",
Expand All @@ -170,20 +188,20 @@
},
{
"type": "genre",
"name": "Murim",
"id": "138",
"name": "moster",
"id": "237",
"canExclude": true
},
{
"type": "genre",
"name": "Mystery",
"id": "122",
"name": "Murim",
"id": "138",
"canExclude": true
},
{
"type": "genre",
"name": "Novel",
"id": "50",
"name": "Mystery",
"id": "122",
"canExclude": true
},
{
Expand Down Expand Up @@ -212,8 +230,8 @@
},
{
"type": "genre",
"name": "Pyschological",
"id": "105",
"name": "Regression",
"id": "242",
"canExclude": true
},
{
Expand Down Expand Up @@ -300,6 +318,12 @@
"id": "192",
"canExclude": true
},
{
"type": "genre",
"name": "Swordmaster",
"id": "257",
"canExclude": true
},
{
"type": "genre",
"name": "System",
Expand Down Expand Up @@ -342,6 +366,12 @@
"id": "162",
"canExclude": true
},
{
"type": "genre",
"name": "Youth",
"id": "221",
"canExclude": true
},
{
"type": "genre",
"name": "Zombies",
Expand Down
20 changes: 20 additions & 0 deletions src/rust/mangastream/sources/flamecomics/res/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"info": {
"id": "en.flamecomics",
"lang": "en",
"name": "Flame Comics",
"version": 1,
"url": "https://flamecomics.com"
},
"listings": [
{
"name": "Popular"
},
{
"name": "Latest"
},
{
"name": "New"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,14 @@ use aidoku::{
Listing, Manga, MangaPageResult, Page,
};

use helper::{get_base_url, get_tag_id};
use mangastream_template::template::MangaStreamSource;
pub mod helper;

fn get_instance() -> MangaStreamSource {
MangaStreamSource {
base_url: String::from("https://flamecomics.com"),
has_permanent_manga_url: true,
has_permanent_chapter_url: true,
tagid_mapping: get_tag_id,
base_url: get_base_url(),
traverse_pathname: "series",
last_page_text_2: "التالي",
manga_details_status: ".imptdt:contains(Status) i, r:contains(الحالة) td:eq(1)",
chapter_date_format: "MMMM dd, yyyy",
status_options_2: ["مستمر", "مكتمل", "متوقف", "ملغي", "متروك"],
language_2: "ar",
..Default::default()
}
}
Expand Down
29 changes: 0 additions & 29 deletions src/rust/mangastream/sources/flamescans/res/source.json

This file was deleted.

Loading
Loading