JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 16.04.2021, 15:42
kawa5e kawa5e is offline
Modem User
 
Join Date: Apr 2021
Posts: 1
Default .crawljob file description method in json

Is this the right way to write a .crawljob file in json?
[
{
"enabled": true,
"autoStart": true,
"forcedStart": true,
"autoConfirm": true,
"deepAnalyseEnabled": true,
"text": https://www.google.com/
}
]
I feel like it hasn't been downloaded.
Reply With Quote
  #2  
Old 16.04.2021, 15:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi,
this is all described HERE.

-psp-
EDIT

In case you've created such a crawljob and it doesn't work:
Please provide one with real life data e.g. downloadable downloadlinks - one that we can actually test.
__________________
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?

Last edited by pspzockerscene; 16.04.2021 at 15:54.
Reply With Quote
  #3  
Old 16.04.2021, 16:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@kawa5e
You can verify your json with help of this website
jsonformatter.org/json-pretty-print
It's invalid, the URL must be within quotes!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 16.04.2021, 16:53
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by kawa5e View Post
Is this the right way to write a .crawljob file in json?
Code:
[{
    "enabled": "TRUE",
    "autoStart": "TRUE",
    "forcedStart": "TRUE",
    "autoConfirm": "TRUE",
    "deepAnalyseEnabled": true,
    "text": "https://www.google.com/"
}]

Reference: Post #439221

@psp: In the article 'enabled' data-type is specified as 'boolean'. Should be 'booleanStatus'. Also, enums are missing in some entries.
Reply With Quote
  #5  
Old 19.04.2021, 10:59
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Quote:
Originally Posted by mgpai View Post
@psp: In the article 'enabled' data-type is specified as 'boolean'. Should be 'booleanStatus'.
Fixed.

Quote:
Originally Posted by mgpai View Post
Also, enums are missing in some entries.
Which ones?

-psp-
__________________
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
  #6  
Old 19.04.2021, 11:35
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by pspzockerscene View Post
Which ones?
Code:
priority
type
autoConfirm
setBeforePackagizerEnabled
extractAfterDownload

Perhaps can be matched with Jiaz' post, which appears to be up-to-date.
Reply With Quote
  #7  
Old 19.04.2021, 12:15
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Quote:
Originally Posted by mgpai View Post
Perhaps can be matched with Jiaz' post, which appears to be up-to-date.
Done!

Sorry it seems like we failed to find these issues during the last review of that support article.
Let me know if you find more mistakes.
Thanks for reporting!

-psp-
__________________
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 07:07.
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.