How do I keep the path structure when using WebFetcher?

R

Robo

I've downloaded WebFetcher from raa, and wanna recursively download a
portion of a site, but don't know how to maintain the path structure, 'cos
when there're two files with the same name, the file gets rename, saving
them in the same directory as the website did would solve that problem.

I've tried something like this, and obviously didn't work:

page = Page.url('http://www.example.com/index/')
page.recurse(2).images.save('example + page.dirname, &SAVE)

Robo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top