Skip to content

Conversation

shiftinv
Copy link
Contributor

@shiftinv shiftinv commented Sep 25, 2024

Right now, the BOT_PROXY_URL env variable only applies to bot.http_session. This PR expands this to more requests:

The GraphQL one was a bit annoying, since graphql-python doesn't have a proxy parameter itself. It does, however, support passing arbitrary kwargs to the created aiohttp.ClientSession, which we can use to set a proxy directly.

@onerandomusername
Copy link
Owner

@shiftinv could you please resolve conflicts? Sorry for the delay!

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