JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 31.05.2022, 16:21
darkwolflair darkwolflair is offline
Modem User
 
Join Date: Jun 2021
Posts: 3
Question Using PageTitle to rename files (wallhaven.cc)

Hi,

I'w wondering if it's possible to use data such as Pagetitles from url to rename files with more information than expected.

Short example :

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

The name of the file is : wallhaven-8ovyr1.png

The pagetitle of the page has several useful data, such as tags, which will be interesting while renaming to better find the images when necessary :

pagetitle : lake, Canada, sunset, landscape, trees, forest, house, mountains, clouds, peak, nature, photography | 3840x2156 Wallpaper
==>found from the Description field in Vivaldi browser, or in browser inspector.

Currently, I have an extension that helps me for each file, but I'd like to know if there's a way to batchprocess this while selecting several urls.

name of the file after using extension :

lake, Canada, sunset, landscape, trees, forest, house, mountains, clouds, peak, nature, photography _ 3840x2156 Wallpaper - wallhaven.cc_wallhaven-8ovyr1

Thanks in advance.
Reply With Quote
  #2  
Old 31.05.2022, 16:26
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 65,278
Default

Hi,
yes and no.
While you can't really combine/extract specific information from that website, the following is possible:
1. Use a LinkCrawler Rule that crawls exactly what you want from this website (ideally exactly one image per link) and sets the package-name according to whats inside the "<title>" tag (example as you need a rule of type DEEPDECRYPT anyways).
2. Use a Packagizer rule to rename the file according to the previously set Package name (example).

-psp-
EDIT

Also it seems like a plugin for the website wallhaven.cc has already been requested some time ago and we've created a ticket for that request but a plugin hasn't been added yet.
Ticket:
__________________
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
  #3  
Old 31.05.2022, 20:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@pspzockerscene: I think a plugin(decrypter?) with settings to customize wished resolution and file name scheme would be perfect here
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 31.05.2022, 20:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@darkwolflair: how do you *feed* the links into JDownloader? do you extract/pre-find the direct image urls?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 01.06.2022, 09:35
darkwolflair darkwolflair is offline
Modem User
 
Join Date: Jun 2021
Posts: 3
Default

Quote:
Originally Posted by pspzockerscene View Post
Hi,
yes and no.
While you can't really combine/extract specific information from that website, the following is possible:
1. Use a **External links are only visible to Support Staff**... that crawls exactly what you want from this website (ideally exactly one image per link) and sets the package-name according to whats inside the "<title>" tag (**External links are only visible to Support Staff**... as you need a rule of type DEEPDECRYPT anyways).
2. Use a **External links are only visible to Support Staff**... rule to rename the file according to the previously set Package name (**External links are only visible to Support Staff**...).

-psp-
EDIT

Also it seems like a plugin for the website wallhaven.cc has already been requested some time ago and we've created a ticket for that request but a plugin hasn't been added yet.
Ticket:
Thanks, I'll try this when I'll have available time.

Quote:
Originally Posted by Jiaz View Post
@darkwolflair: how do you *feed* the links into JDownloader? do you extract/pre-find the direct image urls?
Most of the time no, I just let the clipboard check in Jdownloader and use from my browser an extension that copy all relevant urls from opened tabs.

But for some cases, I have to select the url of the image (or video in some cases).
Reply With Quote
  #6  
Old 01.06.2022, 11:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

Quote:
Originally Posted by darkwolflair View Post
Most of the time no, I just let the clipboard check in Jdownloader and use from my browser an extension that copy all relevant urls from opened tabs.
But JDownloader doesn't process those unsupported links in clipboard. Or do you copy/paste into JDownloader? Ah...you use a browser extension that shows all *relevant* URLs and you copy those to clipboard?


Quote:
Originally Posted by darkwolflair View Post
But for some cases, I have to select the url of the image (or video in some cases).
There are videos on wallhaven.cc? can you provide example links?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 04.06.2022, 18:34
darkwolflair darkwolflair is offline
Modem User
 
Join Date: Jun 2021
Posts: 3
Default

Quote:
Originally Posted by Jiaz View Post
But JDownloader doesn't process those unsupported links in clipboard. Or do you copy/paste into JDownloader? Ah...you use a browser extension that shows all *relevant* URLs and you copy those to clipboard?



There are videos on wallhaven.cc? can you provide example links?
No videos in Wallhaven, but in general (for example, I do the same with Artstation, and sometimes videos are tricky to catch).

I'll wait for an official plugin in JD. I try a few tips this week and it seems promising.
Reply With Quote
  #8  
Old 05.06.2022, 13:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@darkwolflair: Thanks for the clarification. Artstation is supported by JDownloader and just did a quick test, videos are found as well (but in my examples they are hosted on Youtube). so maybe there are Artstation videos that are not yet supported, in this case, please provide some example links and we will check it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 30.08.2022, 17:36
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 65,278
Default

Here I've linked a LinkCrawler Rule for single wallhaven.cc images.
__________________
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
  #10  
Old 05.09.2022, 16:33
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 65,278
Default

Added plugin for single wallhaven.cc images.

You can use the comma separated tags (that's why you've called "title" in this thread) inside filenames as described in this thread.

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
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 15:46.
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 - 2023, Jelsoft Enterprises Ltd.