From 8452a018acc61a3fdabace83b3f9a15ec52d3577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Mon, 7 Jul 2025 10:18:26 +0200 Subject: [PATCH] [civitai] fix '403 Forbidden' errors for searches update Authorization header --- gallery_dl/extractor/civitai.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gallery_dl/extractor/civitai.py b/gallery_dl/extractor/civitai.py index cb2667d5..c8fbd213 100644 --- a/gallery_dl/extractor/civitai.py +++ b/gallery_dl/extractor/civitai.py @@ -592,7 +592,7 @@ class CivitaiTrpcAPI(): self.root = extractor.root + "/api/trpc/" self.headers = { "content-type" : "application/json", - "x-client-version": "5.0.701", + "x-client-version": "5.0.882", "x-client-date" : "", "x-client" : "web", "x-fingerprint" : "undefined", @@ -795,8 +795,8 @@ class CivitaiSearchAPI(): self.extractor = extractor self.root = "https://search.civitai.com" self.headers = { - "Authorization": "Bearer 4c7745e54e872213201291ba1cae1aaca702941f2" - "91432cf4fef22803333e487", + "Authorization": "Bearer ab8565e5ab8dc2d8f0d4256d204781cb63fe8b031" + "eb3779cbbed38a7b5308e5c", "Content-Type": "application/json", "X-Meilisearch-Client": "Meilisearch instant-meilisearch (v0.13.5)" " ; Meilisearch JavaScript (v0.34.0)",