JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.11.2021, 21: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 22:14.
Reply With Quote
  #2  
Old 05.11.2021, 13:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 75,145
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, 17: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 17:48.
Reply With Quote
  #4  
Old 05.11.2021, 19:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 75,145
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 09.11.2021, 17:04
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 61,593
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
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?
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
  #6  
Old 25.11.2021, 14: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, 16:03
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 61,593
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
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?
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
  #8  
Old 20.03.2022, 05: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, 09:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 75,145
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, 13:37
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 61,593
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
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?
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
  #11  
Old 21.03.2022, 14: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, 14:15
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 61,593
Default

Thanks for the feedback and sorry for the inconvenience

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
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
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 23:07.
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 - 2022, Jelsoft Enterprises Ltd.