Skip to content

support FlareSolverr parameters and forward session to RequestsBackend - #2841

Open
cornyburrito wants to merge 2 commits into
stashapp:masterfrom
cornyburrito:pr/proxy-modification
Open

support FlareSolverr parameters and forward session to RequestsBackend#2841
cornyburrito wants to merge 2 commits into
stashapp:masterfrom
cornyburrito:pr/proxy-modification

Conversation

@cornyburrito

Copy link
Copy Markdown
  • Accept 'flaresolverrParameters' for FlareSolverr‑specific payload (e.g., cookies).
    Needed a way to pass cookies to FlareSolverr

  • Pass session into RequestsBackend for custom session handling.
    This is to be able to inject LimiterSession from requests_ratelimiter package

  • Fixed parameter passing with the name based instantiation

  • I also removed the expiry handling code because the cookie expiry time seems to be set 1 year in the future and this code didn't do much because of that.

I tested the code with Babepedia and avbase-python scrapers. I'll create PRs for updated JAVLibrary_python and fc2ppvdb that take advantage of these changes.

- Accept 'flaresolverrParameters' for FlareSolverr‑specific payload (e.g., cookies).

- Pass session into RequestsBackend for custom session handling.
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.

1 participant