JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 09.09.2023, 14:05
accelheim accelheim is offline
JD Addict
 
Join Date: Jan 2020
Posts: 156
Default Civitai.com support would be amazing

Hello, I would like to have support for Civitai gallery images.

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

and

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

If you scroll down you can see the gallery. Would be highly appreciated if JD2 can download these images.
Reply With Quote
  #2  
Old 11.09.2023, 16:44
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,662
Default

This is the 2nd request for this website so I'm open for adding a plugin.
Reference:
https://board.jdownloader.org/showthread.php?t=93193

Afaik they do have a public API:
github.com/civitai/civitai/wiki/REST-API-Reference

...though I was unable to find an API call for "/images/<numbers>" links.

I've added a first version of the plugin which at this moment can only handle single image links in this format:
Code:
civitai.com/images/1234567...
Regarding those "models" links:
So I can see that every "model" can be available in multiple versions.
The versionID can also be specified in the URL.

Does each version always lead to exactly one file?
I'm asking because they do provide an API endpoint for "models" though the response can contain multiple download-URLs.
Reference:
github.com/civitai/civitai/wiki/REST-API-Reference#get-apiv1models-versionsmodelversionid
Random example:
Code:
civitai.com/api/v1/model-versions/13908
__________________
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 11.09.2023, 19:12
accelheim accelheim is offline
JD Addict
 
Join Date: Jan 2020
Posts: 156
Default

Thanks for the reply. I do not know about the actual URLs for the model or LORAs. I can try to ask people who are knowledgable with stable diffusion if they know eventually. Could you add the plugin for image download first? That would be great! Right now it doesn't work, I found no plugin for Civitai.
Reply With Quote
  #4  
Old 12.09.2023, 11:27
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,662
Default

Quote:
Originally Posted by accelheim View Post
I do not know about the actual URLs for the model or LORAs.
But you seem to be a user of this website?
To be more precise: One "model version" always leads to exactly one file - is that correct?

Quote:
Originally Posted by accelheim View Post
Could you add the plugin for image download first?
I've already added it yesterday.

Quote:
Originally Posted by accelheim View Post
I found no plugin for Civitai.
Where did you search for the plugin and which links did you try to add?
__________________
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
  #5  
Old 12.09.2023, 16:40
accelheim accelheim is offline
JD Addict
 
Join Date: Jan 2020
Posts: 156
Default

Quote:
Originally Posted by pspzockerscene View Post
But you seem to be a user of this website?
To be more precise: One "model version" always leads to exactly one file - is that correct?


I've already added it yesterday.


Where did you search for the plugin and which links did you try to add?
I'm a user but I do not use models yet, I only want to download the images gallery at the moment.

I searched in settings -> plugins. I tried to paste these links:

**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**

**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**

All of these only output "apple-splash" filenames in JD2. Log:

11.09.23 18.02.15 <--> 12.09.23 15.40.52 jdlog://8867311370661/
Reply With Quote
  #6  
Old 12.09.2023, 16:42
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,662
Default

Quote:
Originally Posted by accelheim View Post
I searched in settings -> plugins.
That is the wrong place to search if a plugin for a website exists.
Explanation:
https://support.jdownloader.org/Know...bsites-plugins

Quote:
Originally Posted by accelheim View Post
All of these only output "apple-splash" filenames in JD2. Log:
Fixed.
I've added a pattern-mistake in the last moment before I've released that plugin.

As explained, at this moment, it can only handle such URLs:
Code:
ht...civitai.com/images/1234...
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 00:59.
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.