Page 1 of 1
mangahut
Posted: Sun Oct 26, 2008 5:39 pm
by barodahn
Hi,
i was wondering if someone (probably koala since she seems to be the master here) could tell me how to download stuff from mangahut.com? i ran picloader using setting from one manga and it mostly works, but seem to be failing on chapters that an "a" or "b" in the title (specifically working on
http://mangahut.com/manga/Whistle!/
any help would be greatly appreciated.
baro
Re: mangahut
Posted: Mon Oct 27, 2008 2:41 am
by KoalaBear
the fastest way for this site:
the project default setting should be:
Uncheck Support J/VB/JavaScript
Page URL Include Filters:/\d+$;/\d+[a-z]+$
Page URL Exclude Filters:/content/
Picture URL Include Filters:m\d+\.mangahut.com
HTML Parser Script:
if (string.find(HTML.Url,'/%d+$')) then
local s,e=string.find(HTML.Content,'%]%=%b""');
while (s and e) do
local url=string.sub(HTML.Content,s+3,e-1);
AddLink(url,HTML.Url,HTML.Title,'',HTML.TaskID,2);
s,e=string.find(HTML.Content,'%]%=%b""',e+1);
end;
else
DefaultParser(HTML.Content, HTML.Url, HTML.Title, HTML.TaskID, HTML.Level);
end;
Re: mangahut
Posted: Mon Oct 27, 2008 3:28 pm
by barodahn
thanks so much for your help.
one more question... how do i get it to run the download and grab the stuff it missed before?
what would i use to get it to just do certain chapters maybe? i tried this directory and deeper... but it doesn't work?
thanks in advance,
baro
Re: mangahut
Posted: Tue Oct 28, 2008 12:28 am
by barodahn
i think i'm doing something wrong... but those settings don't seem to be working at all, downloads pages and no pictures...(there are also a some with dashes that it failed on before too...)
help
baro
Re: mangahut
Posted: Tue Oct 28, 2008 1:31 am
by KoalaBear
it works well for me.
you can post your project file here:)
Re: mangahut
Posted: Tue Oct 28, 2008 1:43 am
by barodahn
i am probably doing something wrong...
baro
Re: mangahut
Posted: Tue Oct 28, 2008 4:28 am
by KoalaBear
very sorry, I miss one line when copy from my project:(
the HTML Parser Script should be:
if (string.find(HTML.Url,'/%d+$')) then
local s,e=string.find(HTML.Content,'%]%=%b""');
while (s and e) do
local url=string.sub(HTML.Content,s+3,e-1);
AddLink(url,HTML.Url,HTML.Title,'',HTML.TaskID,2);
s,e=string.find(HTML.Content,'%]%=%b""',e+1);
end;
else
DefaultParser(HTML.Content, HTML.Url, HTML.Title, HTML.TaskID, HTML.Level);
end;
I miss the first line
Re: mangahut
Posted: Tue Oct 28, 2008 3:06 pm
by barodahn
Got it to work!!, thanks for your help.
it's a good site, has stuff i haven't seen anywhere else... but a pain to read double pages online...
baro