JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 30.05.2022, 16:53
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 48
Default Event scripter , help needed witha specific feed. down3dmodels.com

Hello,
I have been doing this manually for months now and i tried few things like rss to txt file but they real solution to this would be through eventscripter.

What i need is really simple though.

i just want the feed of this specific url, to JD
**External links are only visible to Support Staff****External links are only visible to Support Staff**

the RSS urls appears to be **External links are only visible to Support Staff****External links are only visible to Support Staff**

it should grab these urls for the time being...
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

please guide me through writing the script or just spoon feed me idc! i have done all the necessary filterings and packagizer rules thanx to support i got here.. it s just this last thing is missing.
Reply With Quote
  #2  
Old 30.05.2022, 18:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@I3ordo: you want to add the feed? you already have rules for the individual posts/items? and add the feed and JDownloader should find all links and your existing rules take over, right?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 30.05.2022, 21:00
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 48
Default

exactly diaz!, i have previously made the packagizer rules so that if the source matches the regex, it gives the source url to the files, there is nothing wrong with my setup due to the nature of link contents (always a single rar file and an image file that will get auto renamed by the source url adress. so what i just need is get the souce urls from the link added to jd.

event scripter should dig this adress **External links are only visible to Support Staff****External links are only visible to Support Staff** and it should grab the feed links (just links like **External links are only visible to Support Staff****External links are only visible to Support Staff** )
Reply With Quote
  #4  
Old 30.05.2022, 21:28
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 64,693
Default

And why do you want to go with an EventScripter script instead of a simple LinkCrawler rule?

You would only need an EventScripter script if you e.g. wanted JD to look for new items in that feed every X days...
__________________
JD Supporter, Plugin Dev. & Community Manager
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
  #5  
Old 31.05.2022, 00:21
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 48
Default

as you said, i want it to check everyday, besides, link crawler rule creation is so alien to me... it is as complicated as event scripter but also it does not seem to have to scheduling features.
Reply With Quote
  #6  
Old 31.05.2022, 01:16
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 64,693
Default

Well both things you want/that need to be done needs advanced functionality.
You will most likely not find any other tools that will allow you to accomplish that more easily.
Here is my suggestion for you on what to do:
1. I wrote two LinkCrawler Rules for you that will crawl all relevant items from the relevant source pages.
Here it is:
Code:
[
  {
    "enabled": true,
    "logging": false,
    "maxDecryptDepth": 1,
    "name": "crawl all single item URLs from 'down3dmodels.com/feed/'",
    "pattern": "**External links are only visible to Support Staff**,
    "rule": "DEEPDECRYPT",
    "packageNamePattern": null,
    "passwordPattern": null,
    "deepPattern": "<link>(https?://[^<]+)</link>"
  },
  {
    "enabled": true,
    "logging": false,
    "maxDecryptDepth": 1,
    "name": "crawl all URLs inside all URLs from 'down3dmodels.com' except 'down3dmodels.com/feed/'",
    "pattern": "**External links are only visible to Support Staff**,
    "rule": "DEEPDECRYPT",
    "packageNamePattern": "<title>(.*?)</title>",
    "passwordPattern": null,
    "deepPattern": ">(https?://(?!down3dmodels\\.com/)[^<]+)</"
  }
]
Rule in plaintext on pastebin for easier copy & paste:
pastebin.com/raw/rHqH1YCJ
I noticed that the "/feed/" URLs won't get crawled but JD will instead download the feed as it gets recognized as downloadable content.
I can kinda see how that happens but still Jiaz will need to investigate this in order to find a solution...

Once this is working for you, you do this:
2. Ask for help in our Eventcripter thread:
Ask for a script that will auto-add a specified URL every X hours and also ask what you can do to avoid duplicates when doing that.
__________________
JD Supporter, Plugin Dev. & Community Manager
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
  #7  
Old 31.05.2022, 19:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@I3ordo: I recommend a solution direct in Eventscripter. A script that loads the feed and parses the wanted links that matches the pattern on 2nd linkcrawler rule by pspzockerscene.
I will look into the reported issue by pspzockerscene

@I3ordo: @pspzockerscene: with next update JDownloader won't try to download the feed and allow it for rules to be processed
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 31.05.2022 at 20:09.
Reply With Quote
  #8  
Old 02.06.2022, 00:32
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 48
Default

Hi, i saw an update on JDownloader, waited for it to finish then
created an event rigger button and my event script now looks like this , and nothing happens.
Code:
if (name == "D3D_Grab") [
  {
    "enabled": true,
    "logging": false,
    "maxDecryptDepth": 1,
    "name": "crawl all single item URLs from 'down3dmodels.com/feed/'",
    "pattern": "**External links are only visible to Support Staff**,
    "rule": "DEEPDECRYPT",
    "packageNamePattern": null,
    "passwordPattern": null,
    "deepPattern": "<link>(https?://[^<]+)</link>"
  },
  {
    "enabled": true,
    "logging": false,
    "maxDecryptDepth": 1,
    "name": "crawl all URLs inside all URLs from 'down3dmodels.com' except 'down3dmodels.com/feed/'",
    "pattern": "**External links are only visible to Support Staff**,
    "rule": "DEEPDECRYPT",
    "packageNamePattern": "<title>(.*?)</title>",
    "passwordPattern": null,
    "deepPattern": ">(https?://(?!down3dmodels\\.com/)[^<]+)</"
  }
]
i think this will be a problematic journey, i will record a screen recording tomorrow as even if the script works, it wont be able to extract for example: "href="**External links are only visible to Support Staff** and paste only "**External links are only visible to Support Staff** and JD wont register the "**External links are only visible to Support Staff** as Container url... thus my file renaming wont be successful...

Last edited by I3ordo; 02.06.2022 at 00:40.
Reply With Quote
  #9  
Old 02.06.2022, 10:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@I3ordo: those are linkcrawler rules and no eventscripter
The two rules are 1.) support/parse the rss feed url 2.) support/parse a page

The eventscripter script you have to write yourself/ask for help here, https://board.jdownloader.org/showthread.php?t=70525 , so it periodically adds the feed url to crawler
__________________
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 08:24.
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 - 2023, Jelsoft Enterprises Ltd.