aiohttp · प्रॉक्सी सेटअप

aiohttp में प्रॉक्सी सेटअप

Async HTTP client and server for Python. नीचे दिए कॉन्फ़िग से इसे Eveses के रेजिडेंशियल पूल पर सेट करें — जियो यूज़रनेम में रहता है, इसलिए देश बदलने के लिए और कुछ बदलना नहीं पड़ता।

proxy.eveses.com:12321 · SOCKS5 32325 पर · 199 देश · $7.35/GB से

ध्यान दें

aiohttp ignores the `proxy` argument unless you pass it on the REQUEST — there is no session-level proxy setting. Credentials go in a `BasicAuth`, not in the URL, when the password contains anything that needs escaping.

कॉन्फ़िगरेशन

import aiohttp

auth = aiohttp.BasicAuth("eveses_user_country-fr", "YOUR_PROXY_PASSWORD")

async with aiohttp.ClientSession() as session:
    # per request — a session-wide proxy does not exist
    async with session.get(
        "https://target-site.com",
        proxy="http://proxy.eveses.com:12321",
        proxy_auth=auth,
    ) as resp:
        body = await resp.text()

aiohttp को छुए बिना देश बदलें

जर्मनीeveses_user_country-de
30 मिनट स्थिरeveses_user_country-de_session-ab12cd34_lifetime-30m

जियो और सेशन यूज़रनेम में रहते हैं, होस्ट या पोर्ट में नहीं। देश बदलने पर इस पेज का पूरा कॉन्फ़िग वैसा ही रहता है — आप एक स्ट्रिंग बदलते हैं। 199 देश टारगेट किए जा सकते हैं, और अधिकांश में शहर व क्षेत्र के टोकन भी।

सामान्य प्रश्न

aiohttp में प्रॉक्सी कैसे सेट करें?›
इसे proxy.eveses.com पर सेट करें — HTTP के लिए पोर्ट 12321, SOCKS5 के लिए 32325 — और अपने Eveses प्रॉक्सी यूज़रनेम व पासवर्ड से लॉगिन करें। सटीक सिंटैक्स ऊपर स्निपेट में है। aiohttp ignores the `proxy` argument unless you pass it on the REQUEST — there is no session-level proxy setting. Credentials go in a `BasicAuth`, not in the URL, when the password contains anything that needs escaping.
aiohttp किस देश से बाहर निकले, यह कैसे चुनें?›
होस्ट बदलने की जगह यूज़रनेम में जियो टोकन जोड़ें: eveses_user_country-de जर्मनी से निकलता है, eveses_user_country-us अमेरिका से। इस तरह 199 देश टारगेट होते हैं, और शहर या राज्य के टोकन और सटीक करते हैं। aiohttp के कॉन्फ़िग में और कुछ नहीं बदलता।
aiohttp में रिक्वेस्ट के बीच एक ही IP कैसे रखें?›
सेशन टोकन जोड़ें — eveses_user_country-us_session-ab12cd34_lifetime-30m — और उस यूज़रनेम वाली हर रिक्वेस्ट लाइफ़टाइम खत्म होने तक एक ही पते से निकलती है। टोकन हटाएँ तो हर रिक्वेस्ट नई IP पर घूम जाती है।
इसकी कीमत क्या है?›
रेजिडेंशियल ट्रैफ़िक आपके Eveses वॉलेट से प्रति गीगाबाइट बिल होता है: 1 GB पर $7.35/GB, वॉल्यूम पर घटकर $2.57/GB। प्रति-टूल कोई शुल्क नहीं, और वही क्रेडेंशियल सभी टूल में एक साथ चलते हैं।

अन्य इंटीग्रेशन

रेजिडेंशियल IP पर aiohttp चलाएँ

1 GB पर $7.35/GB, वॉल्यूम पर $2.57/GB — हर टूल में वही क्रेडेंशियल।

प्रॉक्सी लें →