JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 16.09.2020, 11:49
dinA4 dinA4 is offline
Modem User
 
Join Date: Apr 2020
Posts: 4
Default [EventScripter] Listening on url and downloading only filtered files

Hi !
First of all, a lot of thanx for this wonderful software...

I am using Jdownloader headless with no problem on a Linux Server but now i'm trying to automate some daily task and looking for a help solution.
I need to check a specific Url regularly and download only some files with specific name (or part of it with wildcard *) when they are uploaded.
I don't know how to do it, with Linkgrabber filter or with Watch Folder Extension?!

I have an idea to use folderWatch and .crawljob file with a script that put my crawljob's file from "added" folder back in folderWatch. Like a loop...
Is it a possible workflow?? I know that it works but just downloads all files
Is it possible to set a filter list in a crawljob file??

I am completely wrong?

Ciao
Reply With Quote
  #2  
Old 16.09.2020, 15:40
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 55,285
Default

Yes your crawljob idea would work but the more complicated your task is, the higher are chances that an EventScripter script would be better.

I could also imagine a LinkCrawler Rule paired with something that adds your main URL every X time.

Without example URLs of your target website I'm unable to tell you whether or not this could work.

-psp-
EDIT

Thought about it again - an EventScripter script would probably be the best for what you're trying todo ...
__________________
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

Last edited by pspzockerscene; 16.09.2020 at 16:31.
Reply With Quote
  #3  
Old 18.09.2020, 10:33
dinA4 dinA4 is offline
Modem User
 
Join Date: Apr 2020
Posts: 4
Default

Hallo pspzockerscene,

thank you for your answer. I think you are right, with a EventScripter script will be easier. The problem is that i have no experience in script setup

The link i´m trying to automate it this one: **External links are only visible to Support Staff****External links are only visible to Support Staff**

Could you point me in the right direction to learn how to write a working script?

VG
dinA4
Reply With Quote
  #4  
Old 18.09.2020, 12:20
dinA4 dinA4 is offline
Modem User
 
Join Date: Apr 2020
Posts: 4
Default

I´m just landing on this thread: https://board.jdownloader.org/showth...=70525&page=51
maybe a starting point to build a more complex script?!
Reply With Quote
  #5  
Old 18.09.2020, 16:40
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 55,285
Default

@dinA4
I want to point out one thing:
The URL you want to automatically re-add every X time requires you to solve a captcha in order to find the URLs behind.
Unless you're always available on your phone/PC to solve that you will additionally need to use a captcha solver such as 9kw.eu.

Regarding EventScripter script:
Yes you've already found the correct thread - you can ask for help for creating a script in there.

-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
  #6  
Old 19.09.2020, 16:25
dinA4 dinA4 is offline
Modem User
 
Join Date: Apr 2020
Posts: 4
Default

Thank you psp
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 02:04.
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.