JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.04.2019, 14:46
egamal egamal is offline
JD Alpha
 
Join Date: Jan 2017
Posts: 21
Default folderwatched crawljob json

I tried the following json .crawljob file but it failed to pickup any of the links. However, it moves .crawljob to the added folder. What am I doing wrong?


Thanks,




[
{
"chunks":"0",
"extractPasswords":"null",
"enabled":"null",
"packageName":"TT",
"autoStart":"TRUE",
"extractAfterDownload":"UNSET",
"downloadFolder":"E:\\KK\\TT",
"priority":"DEFAULT",
"forcedStart":"UNSET",
"downloadPassword":"null",
"overwritePackagizerEnabled":"true",
"setBeforePackagizerEnabled":"true",
"comment":"null",
"autoConfirm":"UNSET",
"deepAnalyseEnabled":"false",
"addOfflineLink":"true",
"text":"**External links are only visible to Support Staff**
},
{
"chunks":"0",
"extractPasswords":"null",
"enabled":"null",
"packageName":"ZZ",
"autoStart":"TRUE",
"extractAfterDownload":"UNSET",
"downloadFolder":"E:\\KK\\ZZ",
"priority":"DEFAULT",
"forcedStart":"UNSET",
"downloadPassword":"null",
"overwritePackagizerEnabled":"true",
"setBeforePackagizerEnabled":"true",
"comment":"null",
"autoConfirm":"UNSET",
"deepAnalyseEnabled":"false",
"addOfflineLink":"true",
"text":"**External links are only visible to Support Staff**
}
]
Reply With Quote
  #2  
Old 04.04.2019, 15:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,241
Default

several errors in json
nothing/null must be null and not "null"
true/false and not "true" or "false"

extractPasswords is json string array, eg ["pw1","pw2"]
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 04.04.2019, 15:45
egamal egamal is offline
JD Alpha
 
Join Date: Jan 2017
Posts: 21
Default

Thanks for the feedback.
The following still does not work.
[
{
"enabled":null,
"packageName":"TT",
"autoStart":false,
"downloadFolder":"E:\\KK\\TT",
"downloadPassword":null,
"overwritePackagizerEnabled":true,
"setBeforePackagizerEnabled":true,
"comment":null,
"deepAnalyseEnabled":false,
"addOfflineLink":true,
"text":"**External links are only visible to Support Staff**
},
{
"enabled":null,
"packageName":"ZZ",
"autoStart":false,
"downloadFolder":"E:\\KK\\ZZ",
"downloadPassword":null,
"overwritePackagizerEnabled":true,
"setBeforePackagizerEnabled":true,
"comment":null,
"deepAnalyseEnabled":false,
"addOfflineLink":true,
"text":"**External links are only visible to Support Staff**
}
]
Reply With Quote
  #4  
Old 04.04.2019, 15:56
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,241
Default

here is a template
Quote:
[
{
"downloadFolder" : null,(null|"String")
"chunks" : 0,(int)
"overwritePackagizerEnabled" : true, (true|false)
"extractAfterDownload" : "UNSET",(null,"UNSET","TRUE","FALSE")
"priority" : null, (null,"HIGHEST","HIGHER","HIGH","DEFAULT","LOW","LOWER","LOWEST")
"type" : "NORMAL", ("NORMAL")
"enabled" : null,(null,"UNSET","TRUE","FALSE")
"autoStart" : "UNSET",(null,"UNSET","TRUE","FALSE")
"forcedStart" : "UNSET",(null,"UNSET","TRUE","FALSE")
"addOfflineLink" : true,(true|false)
"extractPasswords" : null,(null,["pw1","pw2"])
"downloadPassword" : null,(null|"String")
"filename" : null,(null|"String")
"autoConfirm" : "UNSET", (null,"UNSET","TRUE","FALSE")
"comment" : null,(null|"String")
"text" : null,(null|"String")
"packageName" : null, (null|"String")
"deepAnalyseEnabled" : false,(true|false)
"setBeforePackagizerEnabled" : false(true|false)
}
]
in your case autostart was false but must be "FALSE"
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 05.04.2019, 03:03
egamal egamal is offline
JD Alpha
 
Join Date: Jan 2017
Posts: 21
Default

Thank you for an excellent clarification. Greatly appreciate it.
Reply With Quote
  #6  
Old 05.04.2019, 19:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,241
Default

You're welcome. In case you've got questions or need further fields/features, let us know
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 05.04.2019, 22:15
oEFLKQzikCqw oEFLKQzikCqw is offline
JD Legend
 
Join Date: Mar 2012
Posts: 1,573
Default

Ich finde es verwirrend, dass false usw. mal klein und mal Groß geschrieben werden muss.
Reply With Quote
  #8  
Old 09.04.2019, 09:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,241
Default

@oEFLKQzikCqw:
Das liegt daran das manche Werte boolean sind (ja und nein) und andere BooleanStatus(ähnlich dem Boolean) (ja, nein, nicht gesetzt) Das lässt sich für bestehende Werte leider nicht einfach ändern, ohne das alle vorhandenen Regeln *kaputt* gehen
__________________
JD-Dev & Server-Admin
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 17:45.
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 - 2020, Jelsoft Enterprises Ltd.