JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09.04.2020, 18:09
denylx denylx is offline
JD Beta
 
Join Date: Aug 2019
Posts: 59
Default Any way to remove the random string of numbers from xhamster or xvideos.com links?

Linkgrabber adds a slew of numbers before the actual filename when grabbing videos from xhamster/xvideos. I want it to grab only the filename just like it does on pornhub. Any way to do this?
Reply With Quote
  #2  
Old 09.04.2020, 18:38
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi,

1. The number is not random.
It is the ID of the video which would be useful if you ever wanted to find it on xhamster again.
2. Sure you can remove that - simply use e.g. the following packagizer rule (Settings --> Packagizer):


-psp-
__________________
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 09.04.2020, 18:40
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Sorry that would be for xhamster.com - simply change the one field to "xvideos.com" and it will work fine for that

-psp-
__________________
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
  #4  
Old 09.04.2020, 21:24
denylx denylx is offline
JD Beta
 
Join Date: Aug 2019
Posts: 59
Default

Wow..that works well.


Btw is there a place where I can learn to use packagizer commands like these? Packagizer seems really powerful.
Reply With Quote
  #5  
Old 14.04.2020, 12:38
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Quote:
Originally Posted by denylx View Post
Wow..that works well.
Thanks for your feedback.


Quote:
Originally Posted by denylx View Post
Btw is there a place where I can learn to use packagizer commands like these? Packagizer seems really powerful.
The best is to simply search our forum for packagizer rules - you will find plenty of examples.

But really all there is to learn is how to use wildcards and how to use regular expressions both of which are generic things and not really related to JDownloader.
Example website to learn/check/use Regular expressions: regex101.com

-psp-
__________________
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
  #6  
Old 17.12.2022, 00:29
cheekyjtx cheekyjtx is offline
Modem User
 
Join Date: Dec 2022
Posts: 1
Default

Admin, can you please include the packagizer rule that would allow this operation to be completed? I too would like to have filenames without the preceding ID (or atleast have ID at the end) as it makes files much more easy to browse.

I thought a simple "\w+$" would suffice in packagizer rule but it's not. Thanks
Reply With Quote
  #7  
Old 18.12.2022, 21:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@cheekyjtx: Can you please share screenshot of the rule you've tried? That way we can check and tell you how to do it right and what mistake you made.
__________________
JD-Dev & Server-Admin

Last edited by pspzockerscene; 19.12.2022 at 15:28. Reason: Fixed typo
Reply With Quote
  #8  
Old 30.12.2022, 10:42
rogerjo69 rogerjo69 is offline
Baby Loader
 
Join Date: Jul 2022
Posts: 5
Default

Quote:
Originally Posted by pspzockerscene View Post
Hi,

1. The number is not random.
It is the ID of the video which would be useful if you ever wanted to find it on xhamster again.
2. Sure you can remove that - simply use e.g. the following packagizer rule (Settings --> Packagizer):


-psp-
Hi I'm new to packagizer. Where could I find this to copy this rule to remove the numbers?

Thank you!
Reply With Quote
  #9  
Old 30.12.2022, 14:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@rogerjo69:
if..
1.) filename - contains -
Code:
\d+_(.+)
and enable the regex checkbox
2.) downloadURL - contains - xhamster.com
then set
1.) filename - to - <jd:orgfilename:1>
__________________
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 22:41.
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.