JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.09.2023, 02:35
nosar77 nosar77 is offline
Modem User
 
Join Date: May 2023
Posts: 3
Default Resolve Link inside website

I've read the instructions on how the linkcrawler rules work however I am not able to get them to work.

Desired Result: I want to be able to copy the download links on this website **External links are only visible to Support Staff****External links are only visible to Support Staff** which look like this when copied ->

**External links are only visible to Support Staff****External links are only visible to Support Staff** these links redirect to rapidgator or modsfire. however linkcrawler wont pick them up with or without the rules I created.

Ive tried to use both of these and neither produce the desired result.

[
{
"enabled": true,
"cookies": [
[
"key1",
"value1"
],
[
"key2",
"value2"
]
],
"logging": false,
"maxDecryptDepth": 1,
"name": "simplaza",
"pattern": "https?://simplaza\\.org/",
"rule": "DEEPDECRYPT",
"packageNamePattern": null,
"passwordPattern": null,
"deepPattern": "(**External links are only visible to Support Staff****External links are only visible to Support Staff**[^"]+)"
}
]



[
{
"enabled": true,
"logging": false,
"maxDecryptDepth": 1,
"name": "simplaza direct rule",
"pattern": "**External links are only visible to Support Staff**,
"rule": "DIRECTHTTP"
}
]



EDIT: I was able to get a DIRECTHTTP rule working however, when I copy the links a notification in linkcrawler doesnt show up that confirms the download link was found. Is there anyway to allow the FOLLOWREDIRECT rule to run and show a notification to ensure i dont miss any links?

Last edited by nosar77; 06.09.2023 at 03:57.
Reply With Quote
  #2  
Old 06.09.2023, 11:08
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,759
Default

Neither a DEEPDECRYPT nor DIRECTHTTP is correct.
You need a rule of type FOLLOWREDIRECT.
This is how I would do it:
Code:
[
  {
    "enabled": true,
    "name": "example rule for LinkCrawler type FOLLOWREDIRECT for download.simplaza.org",
    "pattern": "https?://download\\.simplaza\\.org/get\\.php\\?hoster=[^/]+",
    "rule": "FOLLOWREDIRECT"
  }
]
Rule as plaintext:
pastebin.com/raw/5t4rcYNs
And yes if enabled in settings, you will also get a BubbleNotification when clipboard content is being added via this rule.
__________________
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
  #3  
Old 06.09.2023, 11:17
nosar77 nosar77 is offline
Modem User
 
Join Date: May 2023
Posts: 3
Default

Hello if you look at the edit. I figured it out myself and I got the follow direct to work myself. However I want to still get a Bubble notification like the regular link crawling is this possible with a rule? Because when I copy the link it just gets automatically added to the list without any notification
Reply With Quote
  #4  
Old 06.09.2023, 11:22
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,759
Default

As said this looks to be working fine here.
Here is a screenshot of the bubblenotification I get when copying simplaza.org links while said rule is active:
__________________
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
  #5  
Old 07.09.2023, 21:22
nosar77 nosar77 is offline
Modem User
 
Join Date: May 2023
Posts: 3
Default

I was able to fix the issue, by turning of and turning back on clipboard observer. It works now thanks!

Also fyi. I used chatgpt to help fix the rule issue, so in the future I think that's interesting that it was able to fix my rule to work properly since it is JSON code.
Reply With Quote
  #6  
Old 08.09.2023, 14:16
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,759
Default

No need to use ChatGPT here.
The following webtools should be helpful enough for creating custom LinkCrawler rules:
Json viewer: jsoneditoronline.org
RegEx testing: regex101.com
__________________
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 03:28.
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.