From 0e696d292f50af3502326ab514abb67e9e9230e0 Mon Sep 17 00:00:00 2001 From: jckli Date: Thu, 9 Jan 2025 10:57:07 -0700 Subject: [PATCH] feat: add galaxy degen scans (#846) * feat: add galaxy degen scans * chore: update the icon * refactor: update url Co-authored-by: Skitty --------- Co-authored-by: Skitty --- .../sources/galaxydegenscans/Cargo.toml | 12 + .../sources/galaxydegenscans/res/Icon.png | Bin 0 -> 15659 bytes .../sources/galaxydegenscans/res/filters.json | 330 ++++++++++++++++++ .../galaxydegenscans/res/settings.json | 16 + .../sources/galaxydegenscans/res/source.json | 18 + .../sources/galaxydegenscans/src/lib.rs | 51 +++ 6 files changed, 427 insertions(+) create mode 100644 src/rust/madara/sources/galaxydegenscans/Cargo.toml create mode 100644 src/rust/madara/sources/galaxydegenscans/res/Icon.png create mode 100644 src/rust/madara/sources/galaxydegenscans/res/filters.json create mode 100644 src/rust/madara/sources/galaxydegenscans/res/settings.json create mode 100644 src/rust/madara/sources/galaxydegenscans/res/source.json create mode 100644 src/rust/madara/sources/galaxydegenscans/src/lib.rs diff --git a/src/rust/madara/sources/galaxydegenscans/Cargo.toml b/src/rust/madara/sources/galaxydegenscans/Cargo.toml new file mode 100644 index 000000000..0ceb73369 --- /dev/null +++ b/src/rust/madara/sources/galaxydegenscans/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "galaxydegenscans" +version = "0.1.0" +edition = "2021" +publish = false + +[lib] +crate-type = ["cdylib"] + +[dependencies] +aidoku = { git = "https://github.com/Aidoku/aidoku-rs/" } +madara_template = { path = "../../template" } diff --git a/src/rust/madara/sources/galaxydegenscans/res/Icon.png b/src/rust/madara/sources/galaxydegenscans/res/Icon.png new file mode 100644 index 0000000000000000000000000000000000000000..5dcd23eb5504f777bf9899584fbcc7a365f57b60 GIT binary patch literal 15659 zcmbWe1ymf*wl_Lh(BK+^4estX1PJc#?lQQ0f$Q5iy8Bn#YS*snT{WTdvSObRz90YqfX@=*B8neZzkg0R$d6xX?Ys1k3%s4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q{KKAFmuth zy{V&jJVsF7}%&t*r=E}r(18@Rsw+ ze6KMw64}f&Fn`hM;KoLHlStrVvg-=~NHI{g!m*Ik2P$xs#vn;R zr+$(x1PSnfzfCu=sy+O8UN}9bW7hRvYhJ_1ax9SOLPh7cMgW~OLRK~Byu6~!8_HF> zAMriDhU*M&biJ#KD+)=ahL&!$Pjq685RSJFkQc+(S+y1b5neni?_xwEsIdd+J?HtK zN3^Wl+F}~Vhq=M6bq2#t?wH-1F2pQAMfTldy=8@BjlIKbLpx09KH=}@-(k-o)m<3V zYY4pb(B!Ah4!iMWn2fPZB(rHNWOAc|Io&-Ryj49ip)-UEx`JD!^}p zz+;bzw$JzWoH>7AuNd3aZ+!`JfBJT1;%2O2=+tc>igH?^Y~wnnMb2@3<&5`C z(tS^MPcmRbT^g`E@@$xJ@*@(NccXRc?coQ;->18U4fqFVwVdn8V4nAzsC!$6!h1jex%jgeuQdO)p82OP@!Sfb2c<2at#FC_JBjXVovtW z*6~+^=O|6-F;rLOASDdlq~E)wUPeXHzsZgb4_O?d&^0T#YZr;n@;OS>L+dH!-J^t7 z=%Oy&On3%81N>%M1gai7JVh5RJ(4wH&~U>e#Z&|1U?**bWysgabS4G?o+#AU)o?6~H*#iq_>R`#RxZNwyC~A9>L>{wn=+HjUKQf?PPv2)FbTQ3QsqbhfERC;cs`>o!*1|fYKvfhkTgQJ%$0|f%TC! z5^t2Q;V3HlTI+(vz3PLcb{TT_^UM9<=PD1@oAscqBrK2c*Vm>k0pq4BYQdLQ=XW!d nktg!DdxQ<&vtA;=o8XllOlQL{ template::MadaraSiteData { + let data: template::MadaraSiteData = template::MadaraSiteData { + base_url: String::from("https://gdscans.com"), + alt_ajax: true, + ..Default::default() + }; + data +} + +#[get_manga_list] +fn get_manga_list(filters: Vec, page: i32) -> Result { + template::get_manga_list(filters, page, get_data()) +} + +#[get_manga_listing] +fn get_manga_listing(listing: Listing, page: i32) -> Result { + template::get_manga_listing(get_data(), listing, page) +} + +#[get_manga_details] +fn get_manga_details(id: String) -> Result { + template::get_manga_details(id, get_data()) +} + +#[get_chapter_list] +fn get_chapter_list(id: String) -> Result> { + template::get_chapter_list(id, get_data()) +} + +#[get_page_list] +fn get_page_list(_manga_id: String, chapter_id: String) -> Result> { + template::get_page_list(chapter_id, get_data()) +} + +#[modify_image_request] +fn modify_image_request(request: Request) { + template::modify_image_request(get_data().base_url, request) +} + +#[handle_url] +pub fn handle_url(url: String) -> Result { + template::handle_url(url, get_data()) +}