JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 12.12.2020, 14:31
jipe jipe is offline
Modem User
 
Join Date: Dec 2020
Posts: 1
Smile Keeping mega file structure when downloading from crawljob to a custom download dir

Hi!

There are quite a few threads about both subjects (mega folder structure & crawljobs), but I have problems with both together.

I am trying to create a script, that can create crawljobs for tons of mega links so, that each will be downloaded to their own directory. I have managed to solve all problems separately, but can't get them working together.

I have defined the download directory without <jd:packagename> at the end, and get the correct mega folder structure when added manually.

In crawljob, if I set overwritePackagizerEnabled to false, I get the correct folder structure aswell, but this seems to also ignore the defined downloadFolder, so everything gets downloaded to the wrong place (global download directory).

If I set overwritePackagizerEnabled to true, everything will be downloaded to the specified downloadFolder. However, the directory stucture will be wrong.

If I have something like this: (A being the share name)
Code:
A/B/C
A/B/D
A/E
I get packages:
B that will be downloaded to A/
C that will be downloaded to A/
D that will be downloaded to A/
E that will be downloaded to A/

Totally breaking the directory structure.

I assume when using packagizer rules, it's "Adopt folder structure" that fixes it for Mega links, is it possible to use that with crawljobs, when specifying custom download dir?
Reply With Quote
  #2  
Old 14.12.2020, 13:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,442
Default

Can you please provide some example links? then I can check/help
Either post them here or send to support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 14.06.2024, 16:21
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 72,055
Default

Update with said changes is live.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
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 03:29.
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 - 2024, Jelsoft Enterprises Ltd.