mangahut

Discuss how to download pictures from websites using PicaLoader.
(NO adult contents and advertisement please.)
Post Reply
barodahn
Posts: 5
Joined: Sun Oct 26, 2008 5:30 pm

mangahut

Post 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
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Re: mangahut

Post 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;
Last edited by KoalaBear on Tue Oct 28, 2008 4:28 am, edited 1 time in total.
barodahn
Posts: 5
Joined: Sun Oct 26, 2008 5:30 pm

Re: mangahut

Post 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
barodahn
Posts: 5
Joined: Sun Oct 26, 2008 5:30 pm

Re: mangahut

Post 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
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Re: mangahut

Post by KoalaBear »

it works well for me.
you can post your project file here:)
barodahn
Posts: 5
Joined: Sun Oct 26, 2008 5:30 pm

Re: mangahut

Post by barodahn »

i am probably doing something wrong...

baro
Attachments
hsd.plp
(26.79 KiB) Downloaded 14 times
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Re: mangahut

Post 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 :oops:
barodahn
Posts: 5
Joined: Sun Oct 26, 2008 5:30 pm

Re: mangahut

Post 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
Post Reply