Can't find the error in my script

Discuss how to download pictures from websites using PicaLoader.
(NO adult contents and advertisement please.)
Post Reply
merc_slk
Posts: 17
Joined: Sat Jan 26, 2008 4:34 pm

Can't find the error in my script

Post by merc_slk »

Hello,

If I change the filter in my script to
local s1,e1=string.find(HTML.Content,'/large/.+')
it finds the string but too much.
If I change it too
local s1,e1=string.find(HTML.Content,'/large/[%w%-_]+')
nothing goes.

In attachment my task script.

Tx

Another aproach see uktights2
Attachments
uktights2.plt
(9.93 KiB) Downloaded 26 times
uktights.plt
Something wrong in my string.find
(9.93 KiB) Downloaded 31 times
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Post by KoalaBear »

PicaLoader's default HTML Parser can analyst this site as well, so you no need to write a script.
just change Picture URL Include Filters to:/large/
and clear script field.
merc_slk
Posts: 17
Joined: Sat Jan 26, 2008 4:34 pm

Too easy

Post by merc_slk »

TX KB,

Why always search for a difficult way when there's such an easy one. :shock:
Post Reply