JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 30.07.2022, 20:15
H-Visage H-Visage is offline
Super Loader
 
Join Date: Jul 2022
Posts: 29
Default [Twitter single posts] Remove dates from Directory name

Hey guys! So by default, the link grabber appends dates to the directory name like in this image https://imgur.com/40wD5J8 (the Twitter @ is greyed out intentionally)

I want to know if there's a way to remove this and only tell it to grab the username/@ ? The reason is because it'll keep making new folders for the same username but with different dates, and I don't want that. I just want it to grab the name so any new downloads go to that folder.

Thanks again!
Reply With Quote
  #2  
Old 01.08.2022, 13:29
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

Hi,
here is a Packagizer rule that will do just that.
Screenshot:
__________________
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
  #3  
Old 01.08.2022, 18:07
H-Visage H-Visage is offline
Super Loader
 
Join Date: Jul 2022
Posts: 29
Default

This worked thanks!!
Actually on that note, is there a rule to tell it to ignore text files as well? for both twitter and instagram, or any site really?
Reply With Quote
  #4  
Old 01.08.2022, 18:23
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

A "rule" is not neede for that.
There are multiple ways to do this:
1. Plugin settings
Both instagram- and twitter plugins do provide those.
See Settings -> Plugins
Both of these plugins go extra settings to disable .txt files.

2. In the linkgrabber, you might as well simply uncheck "Document File" under "File Types" on the right side.
You can enable/disable this on the fly.

3. If it is specifically about .txt files, you could create your own filter rules, see Settings -> Linkgrabber Filter
__________________
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
  #5  
Old 01.08.2022, 21:46
H-Visage H-Visage is offline
Super Loader
 
Join Date: Jul 2022
Posts: 29
Default

That worked thanks!
One more quick thing. Can we apply the rename rule to Pixiv and Deviantart links? Here's what they look like now https://imgur.com/a/EBOYSe9

Sorry I didn't realize they were the same issue, otherwise I would've included it in the first post 😅
Reply With Quote
  #6  
Old 02.08.2022, 10:37
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

How do you want to rename them?
Please keep in mind that while we do help users in this forum we want to encourage them to learn about JDownloaders features and use them on their own so it would be nice if you could at least try to create your own Packagizer rules according to your needs.
__________________
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
  #7  
Old 02.08.2022, 17:05
H-Visage H-Visage is offline
Super Loader
 
Join Date: Jul 2022
Posts: 29
Default

Sorry I should've specified, also I'm not so tech savy hence me seeking help. Essentially all I want is for the packagizer to grab the users name only and nothing else. Reusing the same rule for the twitter packagizer above in the thread didn't work so i'm not sure what to do.
Reply With Quote
  #8  
Old 03.08.2022, 13:50
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

Pixiv.net:
If you're talking about user profiles:
By default, one package is created per artwork because each artwork can consist of multiple items.
If you want to put all items in one package named <username>: I've already explained this in this thread.

Deviantart.com:
Our deviantart plugins have been broken for a long time afaik so I don't really know what you're talking about here.
Please post example URLs.
__________________
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
  #9  
Old 03.08.2022, 19:10
H-Visage H-Visage is offline
Super Loader
 
Join Date: Jul 2022
Posts: 29
Default

For Pixiv.net:
So the packagizer rule for pixiv you provided didn't work at first, but then I noticed I was not looking at the profiles, but specific artworks. So I had to change the rule to account for: "www.pixiv.net/en/artworks/" instead of the one provided, and it worked! https://imgur.com/a/dILiWYJ

For The Deviantart issue:
The first name here is "Red by khaoskai" is the DA Link https://imgur.com/a/EBOYSe9 . I want it to just pull the username only which would be "khaoskai", but if you say it's broken and there's no fix then I understand. If there is a fix, it's much appreciated

Last edited by H-Visage; 03.08.2022 at 19:15.
Reply With Quote
  #10  
Old 04.08.2022, 23:42
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

pixiv.net:
Nice you're getting the hang of it!

Please post a deviantart.com example link (= URL you've added and produces packagenames you dont want).
__________________
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 06.08.2022, 23:20
H-Visage H-Visage is offline
Super Loader
 
Join Date: Jul 2022
Posts: 29
Default

Here's the example link: **External links are only visible to Support Staff****External links are only visible to Support Staff**

And what the packagizer looks like https://imgur.com/a/T6jC9eN

So if it can ignore everything else and grab the Username/ uploader only, that'd be great
Reply With Quote
  #12  
Old 09.08.2022, 17:45
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

Simple approach:
__________________
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 10.08.2022, 00:03
H-Visage H-Visage is offline
Super Loader
 
Join Date: Jul 2022
Posts: 29
Default

Thank you, this worked! Thanks again for your time and patience!
Reply With Quote
  #14  
Old 10.08.2022, 17:16
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

No worries thanks for your feedback.
While it is already possible to define custom filenames and packagenames up until a certain point, there is certainly room for improvements.
If you want to follow this topic, you can find a discussion thread about possible new features in that area here.
__________________
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 11.08.2022, 21:30
H-Visage H-Visage is offline
Super Loader
 
Join Date: Jul 2022
Posts: 29
Default

Noted and thanks again!
Reply With Quote
  #16  
Old 29.03.2023, 15:49
JarySoak JarySoak is offline
Modem User
 
Join Date: Dec 2021
Posts: 1
Default

Quote:
Originally Posted by pspzockerscene View Post
Hi,
here is a **External links are only visible to Support Staff**... rule that will do just that.
Screenshot:
Can u reupload, the pic is gone?
Reply With Quote
  #17  
Old 29.03.2023, 15:57
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,103
Default

Sure.
Here it is:

As text:
Package name -> Contains -> [0-9]{4}-[0-9]{2}-[0-9]{2}(.+) -> Enable RegEx checkbox!
Sourceurl -> Contains -> twitter.com
...then set
Package Name <jd:orgpackagename:1>
__________________
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 06:33.
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.