Commit Graph

55 Commits

Author SHA1 Message Date
Mike Fährmann
a41e3c90f4 [civitai:search] add 'token' option (#8093) 2025-08-22 17:21:00 +02:00
Mike Fährmann
e599e3f0d6 [civitai] add 'videos' extractor (#6644) 2025-08-16 11:08:37 +02:00
Mike Fährmann
c2b11dd475 [civitai] do not restrict file types by default (#8053) 2025-08-16 10:17:51 +02:00
Mike Fährmann
d1a9fec2a8 [civitai] fix '403 Forbidden' errors for searches 2025-08-16 09:44:07 +02:00
Mike Fährmann
e92538624e [civitai] add 'user-collections' extractor (#8005) 2025-08-10 21:33:23 +02:00
Mike Fährmann
2b03843092 [civitai] add 'collection' extractor (#8005) 2025-08-10 21:33:23 +02:00
Mike Fährmann
8ada5b8eb6 [exception] improve AuthRequired messages 2025-08-08 16:01:19 +02:00
Mike Fährmann
2c85f4a32d [civitai] change default includes to 'user-images,user-videos' (#7874)
less metadata by default, but grabs *all* user files
2025-07-24 18:10:45 +02:00
Mike Fährmann
a097a373a9 simplify if statements by using walrus operators (#7671) 2025-07-22 20:57:54 +02:00
Mike Fährmann
f0de034889 [exception] rename 'LoginRequired' to 'AuthRequired' 2025-07-22 20:57:54 +02:00
Mike Fährmann
e0599d35dc [civitai] fix 'AttributeError' when a file's post was deleted (#7860) 2025-07-20 20:02:09 +02:00
Mike Fährmann
923e27f4fd [civitai] fix 'extension' for videos without 'name' and 'mimeType'
use _video_ext instead of _image_ext
2025-07-19 18:30:29 +02:00
Mike Fährmann
0a245e8d80 [civitai] improve '_extract_version_id()'
also check for 'modelVersionIdsManual'
2025-07-19 18:30:29 +02:00
Mike Fährmann
272df323f3 [civitai] ensure 'file' & 'post' data has a 'date' value (#7548)
https://github.com/mikf/gallery-dl/issues/7548#issuecomment-3091492518
2025-07-19 18:30:29 +02:00
Mike Fährmann
0b991148a1 [civitai] rename 'generate' to 'generated' (#7796) 2025-07-19 18:30:29 +02:00
Mike Fährmann
67a4472bc2 [civitai] add 'generate' extractor (#7796) 2025-07-18 18:34:17 +02:00
Mike Fährmann
ad84e72fda [civitai] implement retrieving 'post' metadata (#7548) 2025-07-07 11:48:21 +02:00
Mike Fährmann
d25b1f22f3 [civitai] always provide 'file[…]' metadata (#7548)
wrap most top-level values of (single) image results into a 'file' object
2025-07-07 11:45:49 +02:00
Mike Fährmann
8452a018ac [civitai] fix '403 Forbidden' errors for searches
update Authorization header
2025-07-07 10:20:19 +02:00
Mike Fährmann
f2a72d8d1e replace 'request(…).json()' with 'request_json(…)' 2025-06-29 17:50:19 +02:00
Mike Fährmann
9dbe33b6de replace old %-formatted and .format(…) strings with f-strings (#7671)
mostly using flynt
https://github.com/ikamensh/flynt
2025-06-29 17:50:19 +02:00
Mike Fährmann
e08ec7e083 update copyright notices 2025-06-13 00:03:41 +02:00
Mike Fährmann
8eb707e9b7 [civitai] use tuples instead of lists for API parameter constants 2025-06-04 07:45:21 +02:00
Mike Fährmann
9ed31cf992 [civitai] fix & update 'search' extractor (#7609)
- rename to 'search-models'
- use SearchAPI
2025-06-01 10:30:09 +02:00
Mike Fährmann
dc467c7790 [civitai] add 'search-images' extractor (#7609) 2025-06-01 10:06:18 +02:00
Mike Fährmann
55f26a558a [civitai] implement 'CivitaiSearchAPI' class (#7609) 2025-06-01 09:56:10 +02:00
Mike Fährmann
02b34e6680 [civitai] support "My Reactions" results for videos (#7608) 2025-05-31 21:30:39 +02:00
Mike Fährmann
f6f31af660 [civitai] add 'posts' extractor (#7609) 2025-05-31 19:20:39 +02:00
Mike Fährmann
e199396872 [common] simplify 'user' extractors by using 'Dispatch' mixin 2025-05-24 18:04:53 +02:00
Mike Fährmann
b9f077a1c5 [civitai] make metadata extraction non-fatal (#7562) 2025-05-22 19:18:53 +02:00
Mike Fährmann
a6de87d00e [civitai] fix exception for images without modelVersionId (#7432) 2025-05-17 20:17:57 +02:00
Mike Fährmann
f343c8c0b6 [civitai] fix/improve video downloads (#7502)
- add 'quality-videos' option
- fix downloading static .webp files instead of video
2025-05-10 16:13:48 +02:00
Mike Fährmann
3799369248 [civitai] provide proper 'extension' for model files (#7432) 2025-05-04 17:34:06 +02:00
Mike Fährmann
6746e38670 [civitai] fix typo 2025-05-03 21:15:26 +02:00
Mike Fährmann
7a67348fc2 [civitai] implement retrieving 'version' metadata (#7432) 2025-05-03 20:39:35 +02:00
Mike Fährmann
518865c7de [civitai] fix/improve query parameter handling (#7138) 2025-03-10 20:18:57 +01:00
Mike Fährmann
04464b6cf0 [text] add second argument to 'parse_query_list()' (#7138)
return only values whose name is in 'as_list' as a list
2025-03-10 09:36:50 +01:00
Mike Fährmann
998f949db1 [civitai] add 'user-videos' extractor (#6644) 2024-12-26 10:18:54 +01:00
Mike Fährmann
6693ae19e8 [civitai] add 'metadata' option (#6383) 2024-10-27 15:46:00 +01:00
Mike Fährmann
cff3d37551 [civitai] update "My Reactions" handling (#6263)
- use "reactions" subcategory
- raise exception when no api-key or cookies are present
2024-10-20 14:56:56 +02:00
Mike Fährmann
4b31601dc0 [civitai] fix "My Reactions" results (#6263)
requires 'api-key' or authenticated cookies to work
2024-10-16 23:18:00 +02:00
Mike Fährmann
69a75b1de2 [civitai] add extractors for global 'models' and 'images' (#6310) 2024-10-16 23:00:51 +02:00
Mike Fährmann
a37ac3c748 [civitai] add 'uuid' metadata field & use as archive format (#6326) 2024-10-16 19:56:09 +02:00
Mike Fährmann
a78f33d0fc [civitai] fix 'model' file download URLs for tRPC API 2024-10-16 15:18:28 +02:00
Mike Fährmann
bc954eb7e4 [civitai] update default archive format (#6302) 2024-10-10 20:29:07 +02:00
Mike Fährmann
9757eacce1 [civitai] add 'post' extractors (#6279)
- https://civitai.com/posts/12345
- https://civitai.com/user/USER/posts
2024-10-06 17:48:48 +02:00
Mike Fährmann
b12d65ade2 [civitai] use tRPC API by default (#6279) 2024-10-06 08:57:58 +02:00
Mike Fährmann
987f6c36c0 [civitai] ensure image files have an 'id' (#6251) 2024-09-29 19:25:55 +02:00
Mike Fährmann
4e9dd036e7 [civitai] add 'nsfw' option (#3706) 2024-09-28 08:44:35 +02:00
Mike Fährmann
1ab90dd9e2 [civitai] improve model 'gallery' extraction (#3706) 2024-09-27 22:14:14 +02:00