Search found 17 matches

by merc_slk
Mon Apr 07, 2008 4:42 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: Can't find the error in my script
Replies: 2
Views: 495

Too easy

TX KB,

Why always search for a difficult way when there's such an easy one. :shock:
by merc_slk
Sun Mar 30, 2008 7:52 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: Can't find the error in my script
Replies: 2
Views: 495

Can't find the error in my script

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
by merc_slk
Tue Mar 25, 2008 10:48 am
Forum: Resources & Tutorials
Topic: How to understand Level==, html.level
Replies: 0
Views: 961

How to understand Level==, html.level

I noticed you use a lot "Level" in your scripts but how to understand? Let's take http://www.nancymeyer.com/lingerie/dept.asp?s_id=0&dept_id=500 as starting URL. So all the url ref downloaded on this site will be equal level 0 or 1?? On the new url we find other ref url and download again than those ...
by merc_slk
Mon Mar 24, 2008 12:28 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: Sequential Image DL'ing: how do I repeat a variable?
Replies: 3
Views: 551

This may help some more.

The pictures have a main ref like year month and a sub ref like year month day number. so http://www.monitor.hr/belle/0702/070228.htm means : belle / 07(year)02(month)/07(year)02(month)xx(day).jpg Y=97 to 08 in 97 the month starts with 03 M=01 to 12 D=01 to 31 max Maybe this will help to rewrite the ...
by merc_slk
Sun Mar 16, 2008 3:37 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: PL does nor load the Href's
Replies: 1
Views: 332

PL does nor load the Href's

:?: :?: Hi, On the site http://www.stockingirl.com I want to download all he pictures that are included in URL with "Screen=PROD" in it. So I added in my include URL filter : Screen=CTGY;Screen=PROD and include picture URL : Screen=PROD PL only gets some jpg's from the start URL but none HRef's are ...
by merc_slk
Tue Mar 11, 2008 10:13 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: Tried my own script but no luck
Replies: 7
Views: 835

Let's summarize.

The first script did it's work but did not download all the pictures. It loaded the "ser" and "prd" url from "marchi.jsp"and some pictures. Second we changed the script and nothing else happened, only if I cleared the script, the "ser" and "prd" url were downloaded again, but not the required ...
by merc_slk
Mon Mar 10, 2008 9:53 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: Tried my own script but no luck
Replies: 7
Views: 835

Who has tried

Hello,

Has anybody tried this modified script?? I cann't get it running. Only when I clear the Lua script box the included URL's are downloaded. So far it works. Script loaded, nothing is downloaded.

Any answer or solution is welcome.

Merc
by merc_slk
Sun Mar 02, 2008 10:03 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: Tried my own script but no luck
Replies: 7
Views: 835

Still won't run

Hi KoalaBear, Fisrt of all thanks for the explination and the help, also with the other scripts of other sites. I get now a better idea how PL is working. I changed the scipt like you advised and kept IE open before opening and running the project in PL. The only thing what happend was "loading the ...
by merc_slk
Sat Mar 01, 2008 9:07 am
Forum: How do I download pictures from a website? [Public Forum]
Topic: Tried my own script but no luck
Replies: 7
Views: 835

Changed script, Only analyzes first page but does nothing

I rewrote the script and some changes in the filter expressions. The picture to be downloaded can be found in HTML.Content value="/GlamOnWeb/images/catalog/prd8131f.jpg" and than some annex are added like _P,_R,_F,_PR or nothing So I changed the script like this : if string.find(HTML.Url,'IDType=prd ...
by merc_slk
Mon Feb 25, 2008 9:58 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: Tried my own script but no luck
Replies: 7
Views: 835

Tried my own script but no luck

Hello, I tried this script on the website but I think I missed something, can't figure it out. if string.find(HTML.Url,'IDType=prd',1,true) then local s1,e1=string.find(HTML.Url,'SetIDWebObject\?ID=%w*'); if (s1 and e1) then product=string.sub(HTML.Url,s1+19,e1); local url='http://www.glamonweb.com ...
by merc_slk
Thu Feb 21, 2008 8:25 am
Forum: How do I download pictures from a website? [Public Forum]
Topic: Can Picaloader Handle this
Replies: 6
Views: 896

Changed script

Hello, I tried to change the script like this : local s1,e1=string.find(HTML.content,'pf_id=%u*'); id=string.sub(HTML.Url,s1+6,e1); local s2,e2=string.find(HTML.Content,'info_attributes=%b""'); attrs=string.sub(HTML.Content,s2+17,e2-1); local S3,e3=string.find(HTML.Content,'product_name=%b ...
by merc_slk
Mon Feb 18, 2008 9:11 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: How to understand this script.
Replies: 1
Views: 374

How to understand this script.

PL will search for internet URL with product.asp?pf_id .... Than the parser, LUA script, takes over and searches the webpage. local s1=e1= string found in URL pf_id local s2=e2 string found in content info_attr. Why two local variables for the same?? What about the variables "html.url","html.content ...
by merc_slk
Sun Feb 17, 2008 8:29 pm
Forum: Feature Suggestions
Topic: Debugging Parser.
Replies: 0
Views: 514

Debugging Parser.

Hi,

Is it possible to view what the html parser does, so I can fine tune the LUA scripts. Or is there another possibility to debug the LUA script.

With regards,

Jef
by merc_slk
Sun Feb 17, 2008 3:42 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: Can Picaloader Handle this
Replies: 6
Views: 896

Super

Since the introduction of the Lua script language and don't think nothing is impossible. Great tool and works great. It's up to me to get into Lua scripting. The best buy since long time.
by merc_slk
Sun Feb 17, 2008 3:39 pm
Forum: How do I download pictures from a website? [Public Forum]
Topic: How to download pictures in embedded javascript???
Replies: 5
Views: 715

Just what I need

Wow great, I just does what it needs to do. Great.