JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.01.2013, 17:38
viksra
Guest
 
Posts: n/a
Question Different URLs, same file names, different directories

Hi,

There are a bunch of images online that I want to download:

website.com/tour/virtualtourdata/virtualtour0/1/2/0_0.jpg
website.com/tour/virtualtourdata/virtualtour0/2/2/0_0.jpg
website.com/tour/virtualtourdata/virtualtour0/3/2/0_0.jpg
website.com/tour/virtualtourdata/virtualtour0/1/3/0_0.jpg
etc...

How can I tell JDownloader to save the files on my computer in newly created folders to match the URL directories? For example, using the links above, I want the end result to be:

C:\Users\Me\Downloads\1\2\0_0.jpg
C:\Users\Me\Downloads\2\2\0_0.jpg
C:\Users\Me\Downloads\3\2\0_0.jpg
C:\Users\Me\Downloads\1\3\0_0.jpg

Thanks

Last edited by viksra; 04.01.2013 at 17:43.
Reply With Quote
  #2  
Old 04.01.2013, 22:22
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 48,758
Default

Hmm as far as I know this isn't possible.

GreeZ pspzockerscene
__________________

Ad-free installers || Werbefreie Installer
Windows Setup<--JD2 BETA-->Linux Setup x86 || Linux Setup x64 || Mac Setup
-----=>Support Chat<=-----
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 04.01.2013, 23:54
editestowy's Avatar
editestowy editestowy is offline
Polish Supporter
 
Join Date: May 2009
Location: PL
Posts: 3,029
Default

Yup - not possible, even JD2 can only create subdirs based on packagename, not possible to create the same folder structures as it was on the source server.
Probably web crawlers or offline explorers would be better for this task.
Reply With Quote
  #4  
Old 05.01.2013, 17:28
viksra
Guest
 
Posts: n/a
Default

Thanks for the responses. I guess I will try and see if the Python or Ruby community can help me out with a script.
Reply With Quote
  #5  
Old 05.01.2013, 17:59
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,216
Default

use curl or wget within ruby/perl/python/bash/whatever script.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 19:12.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.