JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 03.04.2021, 13:46
fiesta90 fiesta90 is offline
Modem User
 
Join Date: Feb 2018
Posts: 2
Default Webpage title as package name

Hi, I am big fan of Jdownloader.
I used a packagizer rule to download comic chapters in a folder named as the the chapters number in the comic folder.
Example:
link: **External links are only visible to Support Staff****External links are only visible to Support Staff**
source url rule: read/*/*/*/*
download folder rule: \\192.168.1.100\multimedia\fumetti\<jd:source:1>\<jd:source:4>

Now they change the site and the new URL is something like that:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

I would like to use the webpage title as package name but i read that it's impossible.
Is there another way to solve this problem?

Thank you very much.
Reply With Quote
  #2  
Old 04.04.2021, 01:24
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,465
Default

its impossible via the package customiser as it does not have access to html.
you need todo this at either decrypter level (plugin might already exist??), else you can do this in linkcrawler rule.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 04.04.2021, 19:58
fiesta90 fiesta90 is offline
Modem User
 
Join Date: Feb 2018
Posts: 2
Default

Ok, I tried something like that:

{
"enabled" : true,
"cookies" : null,
"updateCookies" : true,
"logging" : false,
"maxDecryptDepth" : 0,
"id" : 1532375949826,
"name" : null,
"pattern" : ".*mangaworld.*",
"rule" : "DEEPDECRYPT",
"packageNamePattern" : "<title>(.*?)</title>",
"passwordPattern" : null,
"formPattern" : null,
"deepPattern" : null,
"rewriteReplaceWith" : null
}

It worked. Thank you very much.
Reply With Quote
  #4  
Old 05.04.2021, 04:02
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,465
Default

most welcome
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #5  
Old 06.04.2021, 18:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,379
Default

@fiesta90: you should also optimize hat linkcrawler rule to only fetch stuff/images you want via proper deepPattern
see https://support.jdownloader.org/Know...kcrawler-rules
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 24.11.2022, 17:09
tb21 tb21 is offline
Junior Loader
 
Join Date: Oct 2021
Posts: 12
Default

This is an oldish thread, but I wanted to say "thank you".. o)

I thought I knew most of the JD tricks, but a crawler rule is something I obviously never used before, but such a rule was what was required today! o) It worked perfectly for me! I used a part of the url/page <title> as package name, all crawled image urls from these pages got into their respective "sub page" package, instead of into hundreds of unrelated single folders for each image.

The crawler rule is a powerful feature, just like the packagizer and the crawljob handling. It would be nice if one smart developer drags this hidden functionality into a little GUI and into a dedicated section in the settings area of JD. Maybe something for JD3?.. o)

Thanks again for posting solutions like this, really helpful!
Reply With Quote
  #7  
Old 24.11.2022, 18:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,379
Default

Quote:
Originally Posted by tb21 View Post
Thanks again for posting solutions like this, really helpful!
You're welcome! Maybe you would like to post your rule as an example? you can leave/cencor the pattern if you like. so other can use it like sort of template
__________________
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 09:54.
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.