JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 24.01.2021, 09:39
elvis_ef's Avatar
elvis_ef elvis_ef is offline
Giga Loader
 
Join Date: Oct 2019
Location: Polska
Posts: 91
Question [pornhub] packagizer filename pattern pornhub

Hello.

I couldn't find the option to change a filneame using regular expression.
Moreover, crucial thing I wanted to ask about, how to set my filename to be changed depending on URL ?

What I want to do is to get "host.domain" (can be without "www", so cut it out - also look at my filename check pattern - regular expression - I want here to add more URLs, for instance 50) and create such filename, for example:
Code:
[host.name][date] any title here
screenshot:
**External links are only visible to Support Staff**

Last edited by elvis_ef; 24.01.2021 at 09:39. Reason: typo
Reply With Quote
  #2  
Old 25.01.2021, 15:48
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,372
Default

Hi,
in your screenshot, regular expressions are already enabled but you're doing completely wrong.
How do you want to extract the domain from a filename if it is not in there?
Please read this and ask again if you got more questions afterwards.
You will also find a lot of Packagizer examples in our forum.

-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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 31.01.2021, 19:48
elvis_ef's Avatar
elvis_ef elvis_ef is offline
Giga Loader
 
Join Date: Oct 2019
Location: Polska
Posts: 91
Default Need more info

Quote:
Originally Posted by pspzockerscene View Post
Hi,
in your screenshot, regular expressions are already enabled but you're doing completely wrong.
How do you want to extract the domain from a filename if it is not in there?
Please **External links are only visible to Support Staff**... and ask again if you got more questions afterwards.
You will also find a lot of Packagizer examples in our forum.

-psp-
Alright, I've just fixed errors.
Now it looks like this:
**External links are only visible to Support Staff**

So it looks good.
But depending on this: https://board.jdownloader.org/showpo...6&postcount=12
or this: https://support.jdownloader.org/Know...in-to-filename

How do I know what kind of "operators" should I use ?
Is there a list of thses operators ?

I am talking about: <jd:hoster:1> or <jd:source:1>

I didn't know that "hoster" refers to the "download url" and the "source" refers to "source url".
Reply With Quote
  #4  
Old 01.02.2021, 17:16
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,372
Default

Quote:
Originally Posted by elvis_ef View Post
How do I know what kind of "operators" should I use ?
Well you have to know that first otherwise there is no point in adding packagizer rules ...

Quote:
Originally Posted by elvis_ef View Post
Is there a list of thses operators ?
There is no list with explanations available yet but you can see all available dynamic variables by doing rightclick on a packagizer field -> Dynamic variables

Quote:
Originally Posted by elvis_ef View Post
I am talking about: <jd:hoster:1> or <jd:source:1>
Well the ":1" depends on your used regular expressions / wildcards.
If you want to get better at using regular expressions, see: regex101.com

Quote:
Originally Posted by elvis_ef View Post
I didn't know that "hoster" refers to the "download url" and the "source" refers to "source url".
I don't really understand that statement.
At the left side you can e.g. see "Sourceurl(s)" and so on.

-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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 01.02.2021, 20:55
elvis_ef's Avatar
elvis_ef elvis_ef is offline
Giga Loader
 
Join Date: Oct 2019
Location: Polska
Posts: 91
Question

Quote:
Originally Posted by pspzockerscene View Post
There is no list with explanations available yet but you can see all available dynamic variables by doing rightclick on a packagizer field -> Dynamic variables
-psp-
And that's the point !
I did not have this option yesterday... wondering why...

**External links are only visible to Support Staff**

This option is visible today.
Any ideas ? : /

Regular expressions are not a problem for me.
I just wanted to know, how can I use these "operators" depending on more options than just source URL or download URL.

I used it before I noticed that this option is magically visible now.
And I still do not know why, and how this happened- maybe updates ?

Or... maybe if I am using vpn... some configs are vanishing...
Reply With Quote
  #6  
Old 01.02.2021, 20:59
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,372
Default

The "dynamic values" section is always there but the numbers in the tags represent the different RegEx matches or wildcards.
E.g.:


-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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #7  
Old 01.02.2021, 21:12
elvis_ef's Avatar
elvis_ef elvis_ef is offline
Giga Loader
 
Join Date: Oct 2019
Location: Polska
Posts: 91
Default

Aaaahhh... ok, I got it.
So these options - wildcards - are visible when I add new ones, right ? I mean parenthesis.
Ok, I got it.

I thought I am missing some options... :|
Reply With Quote
  #8  
Old 01.02.2021, 21:33
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,372
Default

Quote:
Originally Posted by elvis_ef View Post
Aaaahhh... ok, I got it.
So these options - wildcards - are visible when I add new ones, right ? I mean
Yes.
If there are no wildcards/RegEx matches given, there is no need to display these

-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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
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 19:16.
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 - 2021, Jelsoft Enterprises Ltd.