#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
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
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
Thank you, I can confirm the "<jd:prop:username>" option does indeed work. I must have typed it incorrectly or something when testing.
|
Thread Tools | |
Display Modes | |
|
|