JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.04.2022, 20:16
OnePlus OnePlus is offline
Baby Loader
 
Join Date: Mar 2019
Posts: 5
Default [LinkCrawler Rules] JPG Church Image Host (jpg.church)

Hi. Is it possible you could add support for downloading from this image host? Currently the images are not automatically detected by the link grabber and it is necessary to complete a deep search to find the image links.

Example link:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Thank you!

:)
Reply With Quote
  #2  
Old 04.04.2022, 20:27
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 64,016
Default

Hi,
you can easily do this via LinkCrawler Rules.
A dedicated plugin is not required.
Don't hesitate to ask in case you're unable to create a LinkCrawler rule on your own.

-psp-
EDIT

Here is an example rule for this website:
Code:
[
  {
    "enabled": true,
    "logging": false,
    "maxDecryptDepth": 1,
    "name": "example rule for jpg.church",
    "pattern": "https?://jpg\\.church/img/[^/]+",
    "rule": "DEEPDECRYPT",
    "packageNamePattern": null,
    "deepPattern": "rel=\"image_src\"[^>]*href=\"(https?://[^\"]+)"
  }
]
Rule as plaintext for easier copy & paste:
pastebin.com/raw/GQmk2Qm2
__________________
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

Last edited by pspzockerscene; 04.04.2022 at 20:34. Reason: Added example rule
Reply With Quote
  #3  
Old 04.04.2022, 20:45
OnePlus OnePlus is offline
Baby Loader
 
Join Date: Mar 2019
Posts: 5
Default

Thank you, it works perfect! I appreciate the help!
Reply With Quote
  #4  
Old 05.04.2022, 13:34
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 64,016
Default

Thanks for your feedback

-psp-
__________________
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 02.10.2022, 21:29
Trenton Trenton is offline
Baby Loader
 
Join Date: Nov 2019
Posts: 9
Default

Quote:
Originally Posted by OnePlus View Post
Thank you, it works perfect! I appreciate the help!
Hi, did you just paste the rule into the field? because when I try to do it, it auto-fills other values such as:

https://i.imgur.com/VvrrRwl.png

Code:
[
 {
  "cookies"            : null,
  "deepPattern"        : "rel=\"image_src\"[^>]*href=\"(https?://[^\"]+)",
  "formPattern"        : null,
  "id"                 : 1664735051636,
  "maxDecryptDepth"    : 1,
  "name"               : "example rule for jpg.church",
  "packageNamePattern" : null,
  "passwordPattern"    : null,
  "pattern"            : "https?://jpg\\.church/img/[^/]+",
  "rewriteReplaceWith" : null,
  "rule"               : "DEEPDECRYPT",
  "enabled"            : true,
  "logging"            : false,
  "updateCookies"      : true
 }
]
and when I try and link-grab an album I only get rubbish and no actual content:
https://i.imgur.com/TWS02XR.png

perhaps I'm missing a step? I followed this guide

thank you
Reply With Quote
  #6  
Old 03.10.2022, 10:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,420
Default

@Trenton: It is okay and normal for JDownloader to autofill the rest of values with default values.
Can you please provide example links you have tried?
please know that this rule only works on URLs look like pattern
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 10.10.2022, 13:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,420
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 10.10.2022, 16:28
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 64,016
Default

Added simple plugin for jpg.church along with a crawler for albums and user profiles.

Bitte auf das nächste CORE-Update warten!

Please wait for the next CORE-Update!

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
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

Last edited by pspzockerscene; 10.10.2022 at 19:37.
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 01:20.
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 - 2022, Jelsoft Enterprises Ltd.