Thread: [User feedback required] Load URLs from text file
View Single Post
  #4  
Old 25.02.2020, 17:45
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,318
Default

1. Sorry we do not have detailed instructions regarding folderwatch yet but inside JDownloader there are a lot of examples - why didn't you just take a look at them?
I just copied them, you ll find them in this SPOILER:
Spoiler:
Code:
#this is a property file format. You can put all these entries in a jsonarray [{..},{...}] as well.
#save this as myFile.crawljob
#Start a new entry with anything but a comment (#...) or key=. An empty line would be ok as well
#\ must be double encoded! \ -> \\
->NEW ENTRY<-
   chunks=0
#a comment
   extractPasswords=["Password1","Password2"]
   enabled=null
   text=http://www.hornoxe.com/kreuzfahrtschiff-wird-verlaengert-zeitraffer/
   packageName=MyPackageName
   autoStart=TRUE
   extractAfterDownload=UNSET
   downloadFolder=null
   priority=DEFAULT
   forcedStart=UNSET
   downloadPassword=null
#use only if text contains one single link
   filename=null
   overwritePackagizerEnabled=false
   setBeforePackagizerEnabled=true
   comment=null
   autoConfirm=UNSET
   deepAnalyseEnabled=false
   addOfflineLink=true

->NEW ENTRY<-
#properties that are not required can be ignored. This is absolutly fine:
   text=http://www.hornoxe.com/katze-nimmt-die-post-entgegen/


### Available Fields:

# priority Type: Priority
# priority = null
# comment Type: String
# comment = null
# text Type: String
# text = null
# enabled Type: BooleanStatus
# enabled = null
# downloadFolder Type: String
# downloadFolder = null
# type Type: JobType
# type = NORMAL
# filename Type: String
# filename = null
# packageName Type: String
# packageName = null
# addOfflineLink Type: boolean
# addOfflineLink = true
# setBeforePackagizerEnabled Type: boolean
# setBeforePackagizerEnabled = false
# extractPasswords Type: String[]
# extractPasswords = null
# extractAfterDownload Type: BooleanStatus
# extractAfterDownload = UNSET
# deepAnalyseEnabled Type: Boolean
# deepAnalyseEnabled = false
# overwritePackagizerEnabled Type: boolean
# overwritePackagizerEnabled = true
# chunks Type: int
# chunks = 0
# downloadPassword Type: String
# downloadPassword = null
# autoConfirm Type: BooleanStatus
# autoConfirm = UNSET
# forcedStart Type: BooleanStatus
# forcedStart = UNSET
# autoStart Type: BooleanStatus
# autoStart = UNSET


2. Here is a simple example .crawljob rule which will work fine:
Code:
text=http://cdn8.appwork.org/speed.zip
deepAnalyseEnabled=false 
autoStart=TRUE 
enabled=TRUE 
forcedStart=FALSE 
autoConfirm=TRUE 
packageName=TEST_NAME
Save it as .crawljob file, put it in "[JD_installation_directory]/folderwatch" and when when the Folder Wtch extension is enabled, it will process that file, add the URL and delete the .crawljob file.

-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?
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