JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04.11.2021, 22:27
michaely michaely is offline
Baby Loader
 
Join Date: Oct 2021
Posts: 6
Default how to get twitter post title written in the file name when downloading ?

Here's an example of a video, I want the downloaded file titled "Alpha (my cat) ; MINE. ALL MINEDouble exclamation mark , @chaelinCL, #CListheAlpha #CL #Alpha #GZBph #GZBpet.mp4"

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


I've tried using "<jd:source:1>" but that doesn't work for me https://i.imgur.com/HXjY8UT.png

Last edited by michaely; 04.11.2021 at 23:14.
Reply With Quote
  #2  
Old 05.11.2021, 14:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@michaely: source matches on the Source URL but the URL doesn't contain any of the wished information. I also don't recommend this as the title may contain forbidden chars or be very long.
I will ask pspzocker if this information can be stored as a property, then you could use it later, for example try to use as filename
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 05.11.2021, 18:46
michaely michaely is offline
Baby Loader
 
Join Date: Oct 2021
Posts: 6
Default

Since the text could be very long, maybe you could limit the filename to a certain no. of characters, E.g. Up to 50 character limit for filename?

youtubeDL lets you use the titles of twitter videos as the filename, so I'm thinking it should also be possible with jdownloader

Last edited by michaely; 05.11.2021 at 18:48.
Reply With Quote
  #4  
Old 05.11.2021, 20:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 09.11.2021, 18:04
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Added full post text as property "post_text" for the next updte.
You can use it inside filenames via Packagizer property:
Code:
<jd:prop:post_text>
Similar example

Quote:
Originally Posted by michaely View Post
Since the text could be very long, maybe you could limit the filename to a certain no. of characters, E.g. Up to 50 character limit for filename?
I'm sorry but if needed, please use EventScripter scripts to limit property/filename-lengths.

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
  #6  
Old 25.11.2021, 15:58
michaely michaely is offline
Baby Loader
 
Join Date: Oct 2021
Posts: 6
Default

Is there any other changes you'd recommend to make in the settings listed here or is everything else correct, for this to work? https://i.imgur.com/3MCgDkC.png
Reply With Quote
  #7  
Old 25.11.2021, 17:03
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi again,
1. Your rule is completely wrong.
Here is how a working Packagizer rule would look like:


2. Updates haven't been released yet.
Please wait for the next CORE-update to get this feature.

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
  #8  
Old 20.03.2022, 06:53
jimbobbybird jimbobbybird is offline
Modem User
 
Join Date: Mar 2022
Posts: 2
Default

Hello, this feature seems to have stopped working since the latest update. Every other part of the title still works except for <jd:prop:post_text>
Reply With Quote
  #9  
Old 21.03.2022, 10:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@jimbobbybird: thanks for the hint. most likely it has been forgotten in latest work on plugin by pspzockerscene. He will check it asap
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 21.03.2022, 14:37
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Sorry I've renamed the property without thinking about Packagizer users.
New property name for items added after the update is 'tweet_text'.
I've updated our twitter support article accordingly.

-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
  #11  
Old 21.03.2022, 15:07
jimbobbybird jimbobbybird is offline
Modem User
 
Join Date: Mar 2022
Posts: 2
Default

Works perfectly, thanks!!
Reply With Quote
  #12  
Old 21.03.2022, 15:15
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Thanks for the feedback and sorry for the inconvenience

-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
  #13  
Old 21.04.2023, 18:04
Deepsix Deepsix is offline
Modem User
 
Join Date: Apr 2023
Location: France
Posts: 2
Default

Hi

is it possible to upload again screenshot ? link is dead

thx in advance


Laurent

Quote:
Originally Posted by pspzockerscene View Post
Hi again,
1. Your rule is completely wrong.
Here is how a working Packagizer rule would look like:

.
.
.
Reply With Quote
  #14  
Old 21.04.2023, 18:11
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

You mean tweet text as filename?

That rule would look like this:
Downloadurl -> Contains -> twitter.com
...then set:
Filename -> <jd:prop:tweet_text>.<jd:orgfiletype>
__________________
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
  #15  
Old 21.04.2023, 18:13
Deepsix Deepsix is offline
Modem User
 
Join Date: Apr 2023
Location: France
Posts: 2
Default

yes^^

thx
Reply With Quote
  #16  
Old 21.04.2023, 18:14
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

No worries.

The image hoster I used for some years went down a couple of months ago so sadly there will be more missing images :(
__________________
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 10:38.
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.