HTTPX में प्रॉक्सी सेटअप
Async-capable HTTP client for Python, with HTTP/2. नीचे दिए कॉन्फ़िग से इसे Eveses के रेजिडेंशियल पूल पर सेट करें — जियो यूज़रनेम में रहता है, इसलिए देश बदलने के लिए और कुछ बदलना नहीं पड़ता।
proxy.eveses.com:12321 · SOCKS5 32325 पर · 199 देश · $7.35/GB से
HTTPX renamed the argument: `proxies=` was removed in 0.28 in favour of `proxy=` for a single URL, or `mounts=` for per-scheme routing. Code copied from an older tutorial raises TypeError.
कॉन्फ़िगरेशन
import httpx
proxy = "http://eveses_user_country-gb:[email protected]:12321"
# httpx >= 0.28
with httpx.Client(proxy=proxy, timeout=30) as client:
r = client.get("https://target-site.com")
# async, same argument
async with httpx.AsyncClient(proxy=proxy) as client:
r = await client.get("https://target-site.com")HTTPX को छुए बिना देश बदलें
eveses_user_country-deeveses_user_country-de_session-ab12cd34_lifetime-30mजियो और सेशन यूज़रनेम में रहते हैं, होस्ट या पोर्ट में नहीं। देश बदलने पर इस पेज का पूरा कॉन्फ़िग वैसा ही रहता है — आप एक स्ट्रिंग बदलते हैं। 199 देश टारगेट किए जा सकते हैं, और अधिकांश में शहर व क्षेत्र के टोकन भी।
सामान्य प्रश्न
HTTPX में प्रॉक्सी कैसे सेट करें?›
HTTPX किस देश से बाहर निकले, यह कैसे चुनें?›
HTTPX में रिक्वेस्ट के बीच एक ही IP कैसे रखें?›
इसकी कीमत क्या है?›
अन्य इंटीग्रेशन
रेजिडेंशियल IP पर HTTPX चलाएँ
1 GB पर $7.35/GB, वॉल्यूम पर $2.57/GB — हर टूल में वही क्रेडेंशियल।
प्रॉक्सी लें →