JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 28.12.2020, 22:29
3silvio3 3silvio3 is offline
Baby Loader
 
Join Date: Dec 2020
Posts: 5
Default Rename file - specifies string within the URL

:outch::outch:
I tryed to use some rules but unfortunately I have not come to a solution.
Surely I'm doing something wrong but I don't understand what.

**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**
**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**
**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**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

I would like them to be renamed with numeric part
986212338
614242708
805693668
686714297
803349938
423312579
552614492


Thanks in advance for the help.
Reply With Quote
  #2  
Old 29.12.2020, 05:36
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Code:
Downloadurl -> contains -> pic.im-cdn.it/image/*/xxl.jpg
Then set -> Filename - >  <jd:hoster:1>.<jd:orgfiletype>
Reply With Quote
  #3  
Old 29.12.2020, 11:09
3silvio3 3silvio3 is offline
Baby Loader
 
Join Date: Dec 2020
Posts: 5
Default

Thanks but I don't understand where the error is but, like my previous tests, the name continues to be just "xxl.jpg"

Reply With Quote
  #4  
Old 29.12.2020, 11:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

Rules are only applied when adding the link. Existing links are not touched. You have to readd the links
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 29.12.2020, 11:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

@mgpai: Thanks for fast help
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 29.12.2020, 12:13
3silvio3 3silvio3 is offline
Baby Loader
 
Join Date: Dec 2020
Posts: 5
Default

I readd many time but same results :(
always XXL.JPG
Also the TEST give the same name...
Reply With Quote
  #7  
Old 29.12.2020, 12:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

Your example links and rule by mgpai works perfectly fine
Can you show me screenshot of the rule editor?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 29.12.2020, 13:42
3silvio3 3silvio3 is offline
Baby Loader
 
Join Date: Dec 2020
Posts: 5
Default

**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**
Reply With Quote
  #9  
Old 29.12.2020, 14:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

You have to disable the regex checkbox in your downloadURL contains condition, because the pattern is no real pattern and fails because of that. mgpai provided a "simple" pattern
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 29.12.2020, 14:45
3silvio3 3silvio3 is offline
Baby Loader
 
Join Date: Dec 2020
Posts: 5
Default

great... thanks I solved.
Thanks Mgpai e Jiaz, I think I could start loving you
Happy new year
Reply With Quote
  #11  
Old 29.12.2020, 15:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

You're welcome
__________________
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 17:37.
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.