Skip to content

BulkImageScrape: enable force_api_key - #766

Open
punamust wants to merge 1 commit into
stashapp:mainfrom
punamust:BulkImageScrape-force_api_key
Open

BulkImageScrape: enable force_api_key#766
punamust wants to merge 1 commit into
stashapp:mainfrom
punamust:BulkImageScrape-force_api_key

Conversation

@punamust

@punamustpunamust commented Aug 29, 2026

Copy link
Copy Markdown

During long bulk image scraping tasks the session cookie can time out. This leads to tons of authentication errors and the plugin stops somewhere half-way in the middle.

I expected this to be unnecessary because stashapi is supposed to use the ApiKey, but Stash itself actually never passes it: stg-annon/stashapi#34.
Enabling force_api_key makes stashapi look up the ApiKey using the session cookie and continue using that (if it's generated).

I haven't tested yet if this actually works. I should find out soon. It seems to work.

@DogmaDragonDogmaDragon added the type:plugin Plugins label Aug 29, 2026
@discourse-stashapp

Copy link
Copy Markdown

This pull request has been mentioned on Stash Forum. There might be relevant details there:

https://discourse.stashapp.cc/t/bulk-image-scrape/1339/13

@DogmaDragonDogmaDragon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to bump the version in the .yml file.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@punamust@discourse-stashapp@DogmaDragon