JDownloader Community - Appwork GmbH
 

Closed Thread
 
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?
  #2  
Old 09.04.2020, 18:38
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,512
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?
  #3  
Old 09.04.2020, 18:40
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,512
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?
  #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.
  #5  
Old 14.04.2020, 12:38
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,512
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?
  #6  
Old 17.12.2022, 00:29
cheekyjtx cheekyjtx is offline
Registered / Inactive
 
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
  #7  
Old 18.12.2022, 21:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,306
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
  #8  
Old 30.12.2022, 10:42
rogerjo69 rogerjo69 is offline
Baby Loader
 
Join Date: Jul 2022
Posts: 6
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!
  #9  
Old 30.12.2022, 14:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,306
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
  #10  
Old 11.11.2024, 22:36
AD-TEAM AD-TEAM is offline
DSL Light User
 
Join Date: Nov 2019
Posts: 32
Default

Hello
can you help me in this :
before:
Code:
Ecosystem-TENOKE_PC.Game.rar
After
Code:
Ecosystem-TENOKE.rar
  #11  
Old 12.11.2024, 00:33
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 73,512
Default

Offtopic.
Please read our documentation and learn some basics of regular expressions on your own, see: regex101.com.

Thread closed.

EDIT
If you still fail to create your own rule(s), feel free to open a new thread.
__________________
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?

Last edited by pspzockerscene; 12.11.2024 at 01:08. Reason: EDIT
Closed Thread

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 07:07.
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.