JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07.05.2021, 00:28
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default [Packagizer]Request: Feature to the Tiktok Plugin (Rename Option)

Hi, I want to ask if there is any way to be able to add the title of the tiktok video page to the file name. Right now the JD rename output tiktok videos like this
Date_@ProfileName_VIDEOID

I hope for a tiny change, something like this
Date_@ProfileName_VIDEOID_PageTitle

So, I want the name contains the caption and hashtags for the video

Thanks in advance
Reply With Quote
  #2  
Old 07.05.2021, 10:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

Can you please provide example links?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 07.05.2021, 14:56
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,007
Default

For the next CORE-update, I've added two Packagizer properties:
- hashtags = all hashtags as one string e.g. "#jdownloader#is#awesome"
- description = full post text (with hashtags)

Here is an example rule which will add all hashtags to the beginning of tiktok filenames:

You will need to wait for the update in order for this to work!!

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-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?
Reply With Quote
  #4  
Old 07.05.2021, 23:32
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

Quote:
Originally Posted by pspzockerscene View Post
For the next CORE-update, I've added two Packagizer properties:
- hashtags = all hashtags as one string e.g. "#jdownloader#is#awesome"
- description = full post text (with hashtags)

Here is an example rule which will add all hashtags to the beginning of tiktok filenames:

You will need to wait for the update in order for this to work!!

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
That's exactly what I need. Can't wait till the next update. Many Thanks
Reply With Quote
  #5  
Old 08.05.2021, 21:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

Update is already live. Please know that this will only work for new added links
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 13.05.2021, 12:24
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

Quote:
Originally Posted by Jiaz View Post
Update is already live. Please know that this will only work for new added links
I'm trying <jd:prop:hashtags>_<jd:orgfilename> but unfortunately nothing changed at all, except extra _ at the beginning and not adding the date as usual

Current build: Wed May 12 21:46:27 CEST 2021
Reply With Quote
  #7  
Old 13.05.2021, 13:11
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by karimmaster101 View Post
I'm trying <jd:prop:hashtags>_<jd:orgfilename> but unfortunately nothing changed at all, except extra _ at the beginning and not adding the date as usual
Try this:
Code:
<jd:prop:COMMENT>_<jd:orgfilename>
Reply With Quote
  #8  
Old 13.05.2021, 16:38
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

Quote:
Originally Posted by mgpai View Post
Try this:
Code:
<jd:prop:COMMENT>_<jd:orgfilename>
It works except it doesn't retrieve the video date as the default behavior did.

BTW: how do you know to use the COMMENT variable? is there a documentation for these variables? when I click the right click nothing shows up.

Thanks in advance
Reply With Quote
  #9  
Old 13.05.2021, 16:58
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by karimmaster101 View Post
It works except it doesn't retrieve the video date as the default behavior did.
I currently do not see any property which is storing the date.

Quote:
BTW: how do you know to use the COMMENT variable? is there a documentation for these variables? when I click the right click nothing shows up.
It can be found in the plugin source code. The developers may revert back the property name to what is was originally intended to be, in which case you will have to modify the rule and use that instead.
Reply With Quote
  #10  
Old 13.05.2021, 17:08
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

Quote:
Originally Posted by mgpai View Post
I currently do not see any property which is storing the date..
mmmm. I mean when I didn't use Packagizer JD automatically add the Post day to the filename when it starts downloading. I hope there is a way to maintain the same behavior
Reply With Quote
  #11  
Old 13.05.2021, 17:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

can you please provide few more example links, then we can check it. either layout/website changed or removed by accident
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 13.05.2021, 17:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

Please know that date is only available when fastlinkcheck is not enabled, see
Settings->Plugins->tiktok and disable fast linkcheck (default enabled)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 13.05.2021, 17:49
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

Quote:
Originally Posted by Jiaz View Post
Please know that date is only available when fastlinkcheck is not enabled, see
Settings->Plugins->tiktok and disable fast linkcheck (default enabled)
I know this fact. and I don't have any problem if the date will be added later when downloading start. My issue happens when I'm using Packagizer to get the Video page contents. Then the date didn't add at all neither when downloading nor just when grabbing the links.

My filename Setting of Packagizer I'm using right now is <jd:orgfilename>_##_<jd:prop:COMMENT>

Regarding the links, any link you could use to test.
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #14  
Old 13.05.2021, 18:17
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by Jiaz View Post
Please know that date is only available when fastlinkcheck is not enabled, see
Settings->Plugins->tiktok and disable fast linkcheck (default enabled)
Quote:
Originally Posted by karimmaster101 View Post
Then the date didn't add at all neither when downloading nor just when grabbing the links.
Disable Fast Llinkcheck in plugin settings and recheck the link using 'Context menu > Check online status' command.
Reply With Quote
  #15  
Old 13.05.2021, 18:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

You have to disable the Settings->Plugins->tiktok "fast link check" because the date is only availble with linkcheck, then orgfilename will contain the filename with date and rule works fine. Name set by packagizer is final and won't be changed by plugins.
Filename should better be
Quote:
<jd:prop:COMMENT><jd:orgfilename>
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 13.05.2021, 18:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

@mgpai: customized packagizer rule won't be re-applied on linkcheck, he has to re-add the links
__________________
JD-Dev & Server-Admin
Reply With Quote
  #17  
Old 13.05.2021, 18:37
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by Jiaz View Post
@mgpai: customized packagizer rule won't be re-applied on linkcheck, he has to re-add the links
Yes. You are right.
Reply With Quote
  #18  
Old 13.05.2021, 18:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

@mgpai: another opportunity for a great script of yours
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 13.05.2021, 19:47
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

@mgpai , @Jiaz Thanks a lot. It works like a charm. Best support forum EVER
Reply With Quote
  #20  
Old 14.05.2021, 10:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

You're welcome
__________________
JD-Dev & Server-Admin
Reply With Quote
  #21  
Old 14.05.2021, 19:17
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

I know this is too much but I'm facing a problem with some links right now.
When I disable the Fast check option it didn't load the videos, on the other hand when enabled it it gets me the valid videos but unfortunately without the post date as I wanted.

For example:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #22  
Old 14.05.2021, 19:37
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

Both links are currently not available, show as offline in JD and browser?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #23  
Old 14.05.2021, 22:55
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

Quote:
Originally Posted by Jiaz View Post
Both links are currently not available, show as offline in JD and browser?
They work for me on the browser and with JD while enable the Fast check. They failed when I disable the Fast check option to get the date as you told me.
Reply With Quote
  #24  
Old 17.05.2021, 10:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

Fast link check has nothing to do with those links being offline. Those are offline in browser and thus will fail in JDownloader too.
When you can reproduce the issue with online links, please provide new example links for testing
__________________
JD-Dev & Server-Admin
Reply With Quote
  #25  
Old 17.05.2021, 16:43
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,007
Default

I can confirm that both of these URLs appear to be offline.
Where are you from?
Maybe tiktok is GEO-blocking some content for some countries...

-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?
Reply With Quote
  #26  
Old 17.05.2021, 23:33
karimmaster101 karimmaster101 is offline
DSL User
 
Join Date: Jun 2014
Posts: 37
Default

Quote:
Originally Posted by pspzockerscene View Post
I can confirm that both of these URLs appear to be offline.
Where are you from?
Maybe tiktok is GEO-blocking some content for some countries...

-psp-
After testing, I believe that there is something on their side or my ISP; They work fine for part of the day then became unavailable then rework again.

I guess JD has nothing to do with it.
Reply With Quote
  #27  
Old 18.05.2021, 10:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,317
Default

All I can tell is that the two example links are not working in browser either
__________________
JD-Dev & Server-Admin
Reply With Quote
  #28  
Old 18.05.2021, 16:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,007
Default

@karimmaster101
Where are you from (Country)?

-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?
Reply With Quote
  #29  
Old 13.11.2021, 19:16
Thom4joy Thom4joy is offline
Modem User
 
Join Date: Nov 2021
Posts: 3
Default

Hi. Is there a way to change the linkgrabber files from date_@profilename_filenumber to profilename_date_filenumber. Also is there a way for multiple video profiles to be assigned to different packages named from the profile name for download in link grabber. Currently I am manually moving downloaded files to individual folders where I type the name
Reply With Quote
  #30  
Old 16.11.2021, 18:11
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,007
Default

Quote:
Originally Posted by Thom4joy View Post
Is there a way to change the linkgrabber files from date_@profilename_filenumber to profilename_date_filenumber.
After the next CORE-update, it will be possible using e.g. the following Packagizer rule:


Quote:
Originally Posted by Thom4joy View Post
Also is there a way for multiple video profiles to be assigned to different packages named from the profile name for download in link grabber. Currently I am manually moving downloaded files to individual folders where I type the name.
You're be able to do this by changing the above Packagizer rule to set a new package name as:
Code:
<jd:prop:username>
(Property username returns string "@username")

Bitte auf das nächste CORE-Update warten!

Please wait for the next CORE-Update!

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-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?
Reply With Quote
  #31  
Old 23.11.2021, 20:31
Thom4joy Thom4joy is offline
Modem User
 
Join Date: Nov 2021
Posts: 3
Default Is there a way or tutorial to make this happen

starting from the link grabber tab
1image.png
to the downloader tab
2image.png
to each group making their own individual folder
3image.png
Reply With Quote
  #32  
Old 23.11.2021, 20:33
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,007
Default

Hi again Thom4joy,

I'm sorry but I don't know what you mean.
Also you didn't tell me whether or not you#Ve used any special Packagizer rules before making this screenshot.

Also regarding my previous post:
CORE-Updates have not yet been released so the changes I've mentioned are not live yet!

-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?
Reply With Quote
  #33  
Old 24.11.2021, 15:53
Thom4joy Thom4joy is offline
Modem User
 
Join Date: Nov 2021
Posts: 3
Default my current packagizer rules

4image.png

ok misunderstood thanks.
Reply With Quote
  #34  
Old 25.11.2021, 03:44
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,007
Default

Sorry but if you don't open the rule I can't see what's inside.

At this moment I can only assume the following

You haven't read or fully understand post #30 and you've added a Packagizer rule using properties that are not yet available because the updates I've mentioned haven't been released yet...

-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?
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 14:21.
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.