JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 28.03.2020, 19:32
seggo seggo is offline
I will play nice!
 
Join Date: Mar 2020
Posts: 3
Default Using packagizer and linkgrabber to rename folder by property

I am attempting to use packagizer rules to sort all links grabbed from pornhub into the the same package / folder name by username / model / channel.

Currently I can do this manually by searching the linkgrabber for each username since they're appended to the video's filename before resolution, then I can manually sort them into the same package. I would like to automatize this.

According to this thread, there is a property for "username" but I do not know how to use it: https://board.jdownloader.org/showthread.php?t=80383

Things I have tried in packagizer:

IF Download URL contains "pornhub" THEN set Package name "username"
IF Download URL contains "pornhub" THEN set Package name "*USERNAME*"
IF Download URL contains "pornhub" THEN set Package name "<jd:prop:username>"
IF Download URL contains "pornhub" THEN set Package name "<jd:prop:*USERNAME*>"

I have also tried

IF file name contains "_*_" THEN set Package name "*"

where * would be the location of the username according to default file naming rules, but this doesn't work either.

Clearly I'm doing something wrong. Is there an easier way to do this or am I missing something?
Reply With Quote
  #2  
Old 30.03.2020, 12:56
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 52,451
Default

The wollowing rule is fine for me when e.g. testing with the following URL:
pornhubpremium.com/model/dudetlewd
Maybe you've added an URL for which the crawler does not set the property --> Please post an example URL here.



-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
-----=>Support Chat<=-----
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 01.04.2020, 17:48
seggo seggo is offline
I will play nice!
 
Join Date: Mar 2020
Posts: 3
Default

Quote:
Originally Posted by pspzockerscene View Post
The wollowing rule is fine for me when e.g. testing with the following URL:
pornhubpremium.com/model/dudetlewd
Maybe you've added an URL for which the crawler does not set the property --> Please post an example URL here.



-psp-
Thank you, I can confirm the "<jd:prop:username>" option does indeed work. I must have typed it incorrectly or something when testing.
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 07:02.
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 - 2020, Jelsoft Enterprises Ltd.