Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need proxy support #2145

Closed
sanxincao opened this issue Jul 14, 2023 · 3 comments
Closed

need proxy support #2145

sanxincao opened this issue Jul 14, 2023 · 3 comments
Labels
Feature Request This is requesting a new feature Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable

Comments

@sanxincao
Copy link

Summary

need proxy support

The Problem

somewhere can not visit twitter directly,you konw

The Ideal Solution

can support proxy like 127.0.0.1:1080 http or socks5

The Current Solution

maybe i will write the code by myself

Additional Context

No response

@sanxincao sanxincao added the Feature Request This is requesting a new feature label Jul 14, 2023
@Harmon758
Copy link
Member

Tweepy already supports proxies.

@Harmon758 Harmon758 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2023
@Harmon758 Harmon758 added Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable labels Jul 14, 2023
@sanxincao
Copy link
Author

only the v1.1 support proxy directly
there are others question
https://stackoverflow.com/questions/75037853/does-tweepy-offer-proxy-support-for-twitter-api-v2
client = tweepy.Client() dont have proxy parameter like API

@Harmon758
Copy link
Member

Harmon758 commented Jul 15, 2023

As the existing answer to that Stack Overflow question indicates, tweepy.Client supports proxies through its session attribute.
I've also added my own answer there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request This is requesting a new feature Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable
Projects
None yet
Development

No branches or pull requests

2 participants