Skip to content

fix: make set_config accept a callable proxy function - #3034

Open
Yi-111-a wants to merge 1 commit into
ranaroussi:mainfrom
Yi-111-a:fix/set-config-callable-proxy
Open

Yi-111-a wants to merge 1 commit into
ranaroussi:mainfrom
Yi-111-a:fix/set-config-callable-proxy

Conversation

@Yi-111-a

@Yi-111-a Yi-111-a commented Nov 4, 2026

Copy link
Copy Markdown

Closes #2500

When proxy is callable, call it to resolve the proxy URL.
This allows users to pass a function returning a proxy URL (e.g., from
FreeProxy) to set_config, instead of being limited to a single static URL.

When proxy is callable, call it to resolve the proxy URL.
This allows users to pass a function returning a proxy URL (e.g., from
FreeProxy) to set_config, instead of being limited to a single static URL.

Closes ranaroussi#2500

This branch has not been deployed

No deployments
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.

Enable set_config proxy to take a function

1 participant