Skip to content

Affect3DStore: use python cloudscraper with proxies to circumvent Cloudflare - #2863

Merged
Maista6969 merged 1 commit into
stashapp:masterfrom
nrg101:fix-affect3dstore-for-cloudflare
Sep 3, 2026
Merged

Affect3DStore: use python cloudscraper with proxies to circumvent Cloudflare#2863
Maista6969 merged 1 commit into
stashapp:masterfrom
nrg101:fix-affect3dstore-for-cloudflare

Conversation

@nrg101

@nrg101 nrg101 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Scraper type(s)

  • sceneByName
  • sceneByQueryFragment
  • sceneByFragment
  • sceneByURL

Examples to test

sceneByURL

sceneByName / sceneByFragment / sceneByQueryFragment

TBC

Short description

The site now has Cloudflare protection. It is possible to use cloudscraper to bypass Cloudflare protection. This has worked well for other scrapers when used together with free-proxy, so is used here too.

There is a text search on the site, so sceneByName and sceneByFragment/sceneByQueryFragment are probably possible too (so I'll look into that)

@Maista6969

Copy link
Copy Markdown
Collaborator

I'll merge this, but keep in mind that Stash v0.32 is adding support for TLS impersonation that makes it possible to keep using XPath for this 🙂

@Maista6969
Maista6969 merged commit 294e417 into stashapp:master Sep 3, 2026
1 check passed
@nrg101 nrg101 mentioned this pull request Sep 3, 2026
3 tasks
@nrg101

nrg101 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

I'll merge this, but keep in mind that Stash v0.32 is adding support for TLS impersonation that makes it possible to keep using XPath for this 🙂

It will be nice to use a pure xPath scraper again if it can work with Cloudflare-protected sites.

I tried to use the xPath selectors in the python code as much as possible, so it should be pretty easy to bring it back over to an xPath scraper (when Stash can work with Cloudflare protected sites)

@nrg101 nrg101 mentioned this pull request Sep 3, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants