JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.11.2023, 13:21
jimbob298 jimbob298 is offline
I will play nice!
 
Join Date: Nov 2023
Posts: 2
Default Change URL with Linkcrawler

How can I use Linkcrawler to change http to https?

I'm trying to download images from keptarolo.hu. The URLs look like a direct link to the image (**External links are only visible to Support Staff****External links are only visible to Support Staff**) but that's just the container page, the actual direct link has /kep/ after the .hu (**External links are only visible to Support Staff****External links are only visible to Support Staff**). If I paste the first URL into JDownloader, it does find the image on the second URL. The problem I'm having is that on the forum I'm getting the images from, the links are always added as http (**External links are only visible to Support Staff****External links are only visible to Support Staff**) and if I copy those links from the forum pages, JDownloader doesn't redirect to the https URL and it shows as offline. I can't even do a Deep Link Analyse I assume because it looks like a direct image link.

Basically, I need to convert this:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

To this:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

I've tried this but it didn't do anything:
[
{
"enabled" : true,
"name" : "example rule for type REWRITE for keptarolo.hu",
"pattern" : "http?://keptarolo\\.hu/",
"rule" : "REWRITE",
"rewriteReplaceWith" : "**External links are only visible to Support Staff**
}
]
Reply With Quote
  #2  
Old 22.11.2023, 13:35
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,791
Default

Hi,

Please re-read our LinkCrawler rules help article(s):
https://support.jdownloader.org/Know...kcrawler-rules
It doesn't look like you put any time into trying to understand how those rules work.
Also your problem is not the "http to https redirect".

If I were to create a rule, it would look like this:
Code:
[
  {
    "enabled": true,
    "name": "example rule for type REWRITE for keptarolo.hu",
    "pattern": "**External links are only visible to Support Staff**,
    "rule": "REWRITE",
    "rewriteReplaceWith": "**External links are only visible to Support Staff**
  }
]
Rule in plaintext on pastebin:
pastebin.com/raw/yAxQ1n7r
__________________
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 22.11.2023, 13:48
jimbob298 jimbob298 is offline
I will play nice!
 
Join Date: Nov 2023
Posts: 2
Default

I did read it but I wasn't able to wrap my head around it. I also spend 2 hours looking at many other examples and trying different ways but nothing worked.

Your example didn't work either until I changed https to http in the pattern line.

Thanks for your help despite your unnecssarily rude attitude.
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 15:53.
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.