Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit de19737

Browse files
committed
fix: search all mangas from mangasee
1 parent 6b4dd53 commit de19737

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docker/mangal/sources/Mangasee.lua

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ function SearchManga(query)
4646
local page = Browser:page()
4747
page:navigate(Base .. "/search/?name=" .. HttpUtil.query_escape(query))
4848
page:waitLoad()
49+
while page:has('button[ng-click="vm.NextPage()"]') == true do
50+
page:element('button[ng-click="vm.NextPage()"]'):click()
51+
end
52+
4953

5054
local doc = Html.parse(page:html())
5155
local mangas = {}

docker/root/etc/cont-init.d/40-config

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ mkdir -p /config/.config
88

99
cp -r /mangal /config/.config
1010

11+
rm -rf /config/.cache/mangal/Mangasee_custom_mangas.json
12+
1113
# permissions
1214
# chown -R abc:abc \
1315
# /app \

0 commit comments

Comments
 (0)