#1
|
||||
|
||||
[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 **External links are only visible to Support Staff** Last edited by elvis_ef; 24.01.2021 at 10:39. Reason: typo |
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
Need more info
Quote:
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". |
#4
|
||||
|
||||
Well you have to know that first otherwise there is no point in adding packagizer rules ...
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 Well the ":1" depends on your used regular expressions / wildcards. If you want to get better at using regular expressions, see: regex101.com Quote:
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 |
#5
|
||||
|
||||
Quote:
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... |
#6
|
||||
|
||||
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 |
#7
|
||||
|
||||
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... :| |
#8
|
||||
|
||||
Quote:
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 |
Thread Tools | |
Display Modes | |
|
|