add some stuff

This commit is contained in:
Kopatz
2024-10-27 23:20:14 +01:00
parent 782ecdbf84
commit 465159200b
4 changed files with 27 additions and 1 deletions

13
pkgs/patches/mangal.diff Normal file
View File

@@ -0,0 +1,13 @@
diff --git a/provider/manganato/manganato.go b/provider/manganato/manganato.go
index e7d0c62..7af6542 100644
--- a/provider/manganato/manganato.go
+++ b/provider/manganato/manganato.go
@@ -20,7 +20,7 @@ var Config = &generic.Configuration{
query = strings.TrimSpace(query)
query = strings.ToLower(query)
query = url.QueryEscape(query)
- template := "https://chapmanganato.com/https://manganato.com/search/story/%s"
+ template := "https://manganato.com/search/story/%s"
return fmt.Sprintf(template, query)
},
MangaExtractor: &generic.Extractor{