JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 13.08.2022, 14:48
Tolde1963 Tolde1963 is offline
Baby Loader
 
Join Date: Apr 2020
Posts: 6
Default How to remove "_hls_" from downloading filenames?

Hi!
Since a recent version JDownloader appends "hls" to the filenames downloaded from pornhub. For example:
URL: **External links are only visible to Support Staff****External links are only visible to Support Staff** results
as "THE FIRST THREESOME ¡¡¡ Amateurs CloseUpFantasy_CloseUpFantasy_hls_1080p.mp4"

How can I remove this "_hls_" string from the filenames?
Thanks!
Reply With Quote
  #2  
Old 16.08.2022, 17:09
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,646
Default

@Tolde1963: you can use packagizer, see https://support.jdownloader.org/Know...paketverwalter to remove the "_hls_", for example
Quote:
file name - contains - (.*?)_hls_(.+)
(enable regex checkbox on the right)
sourceurls(s) - contains - pornhub.com
then set
filename - <jd:orgfilename:1><jd:orgfilename:2>
Please know that you will have to re-add the links for packagizer rules to be processed/applied
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 18.08.2022, 22:38
Tolde1963 Tolde1963 is offline
Baby Loader
 
Join Date: Apr 2020
Posts: 6
Default

@Jiaz, while it seemingly works in the packagizer test area - it does not work in the rest of JDownloader, files are still named with _hls_ no matter what.

I enabled regex, re-added another new url, restarted JD - still does not work. Did you test it IRL, not only in the rule test box?
Reply With Quote
  #4  
Old 19.08.2022, 13:11
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,646
Default

Quote:
Originally Posted by Tolde1963 View Post
I enabled regex, re-added another new url, restarted JD - still does not work. Did you test it IRL, not only in the rule test box?
Tested and working fine here. Did not test in testbox but with actual full test (add link, move to download, download). Please know that packagizer rules are only applied to new added links. So you have to enable the rule, then remove the links from linkgrabber and add them again. Links in list are not changed/touched at all.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 19.08.2022, 23:16
Tolde1963 Tolde1963 is offline
Baby Loader
 
Join Date: Apr 2020
Posts: 6
Default

Of course I've added a new url. It still does not work :(
Also, I have all other Packagizer rules disabled. My JD2 is of the latest version. What else could be the problem?

Last edited by Tolde1963; 19.08.2022 at 23:27. Reason: typo
Reply With Quote
  #6  
Old 19.08.2022, 23:16
Tolde1963 Tolde1963 is offline
Baby Loader
 
Join Date: Apr 2020
Posts: 6
Default

@Jiaz
https://postimg.cc/RNQ5D09B
https://i.postimg.cc/PT5P3Ybz/screen...t-22-12-15.png
Reply With Quote
  #7  
Old 22.08.2022, 17:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,646
Default

@Tolde1963: have you setup an account for this site?
if so, try to set
Quote:
sourceURL - contains - pornhub
Settings->Advanced Settings-> PackagizerSettings.packagizerenabled is enabled?
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 22.08.2022 at 17:49.
Reply With Quote
  #8  
Old 22.08.2022, 22:32
Tolde1963 Tolde1963 is offline
Baby Loader
 
Join Date: Apr 2020
Posts: 6
Default

@Jiaz: Yes I have an account for this site registered in JD too.
Yes Packagizer is enabled and works for other rules but not this.
Reply With Quote
  #9  
Old 23.08.2022, 13:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,646
Default

@Tolde1963: Working fine here without account. Most likely you are adding different domain? so please
try to modify rule like shown https://board.jdownloader.org/showpo...31&postcount=7
If it still fails for you, please send cookies/logins and example links to support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 24.08.2022, 05:33
Tolde1963 Tolde1963 is offline
Baby Loader
 
Join Date: Apr 2020
Posts: 6
Default

@Jiaz, Bingo!! The Plugin was changed to pornhub.org I have no idea why, but I switched it to .com and the rule works like charm now. Thank you so much!
Reply With Quote
  #11  
Old 24.08.2022, 11:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,646
Default

@Tolde1963: Thanks for the feedback and glad to hear that you got it finally working
you can also just modify rule, like https://board.jdownloader.org/showpo...31&postcount=7 and that way it doesn't matter if its .org or .com
__________________
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 15:27.
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.