node-fetch / undici में प्रॉक्सी सेटअप
fetch() in Node — the built-in one and the node-fetch package. नीचे दिए कॉन्फ़िग से इसे Eveses के रेजिडेंशियल पूल पर सेट करें — जियो यूज़रनेम में रहता है, इसलिए देश बदलने के लिए और कुछ बदलना नहीं पड़ता।
proxy.eveses.com:12321 · SOCKS5 32325 पर · 199 देश · $7.35/GB से
Node's global `fetch` is undici, which does not read `HTTPS_PROXY` and does not accept an `agent` option. It needs `ProxyAgent` passed as `dispatcher`. node-fetch (the package) is the opposite — it wants `agent`.
कॉन्फ़िगरेशन
// Node 18+ built-in fetch (undici)
import { ProxyAgent } from "undici";
const dispatcher = new ProxyAgent({
uri: "http://proxy.eveses.com:12321",
token: "Basic " + Buffer.from(
"eveses_user_country-us:YOUR_PROXY_PASSWORD").toString("base64"),
});
const res = await fetch("https://target-site.com", { dispatcher });
// node-fetch package
import fetch from "node-fetch";
import { HttpsProxyAgent } from "https-proxy-agent";
const agent = new HttpsProxyAgent(
"http://eveses_user_country-us:[email protected]:12321");
await fetch("https://target-site.com", { agent });node-fetch / undici को छुए बिना देश बदलें
eveses_user_country-deeveses_user_country-de_session-ab12cd34_lifetime-30mजियो और सेशन यूज़रनेम में रहते हैं, होस्ट या पोर्ट में नहीं। देश बदलने पर इस पेज का पूरा कॉन्फ़िग वैसा ही रहता है — आप एक स्ट्रिंग बदलते हैं। 199 देश टारगेट किए जा सकते हैं, और अधिकांश में शहर व क्षेत्र के टोकन भी।
सामान्य प्रश्न
node-fetch / undici में प्रॉक्सी कैसे सेट करें?›
node-fetch / undici किस देश से बाहर निकले, यह कैसे चुनें?›
node-fetch / undici में रिक्वेस्ट के बीच एक ही IP कैसे रखें?›
इसकी कीमत क्या है?›
अन्य इंटीग्रेशन
रेजिडेंशियल IP पर node-fetch / undici चलाएँ
1 GB पर $7.35/GB, वॉल्यूम पर $2.57/GB — हर टूल में वही क्रेडेंशियल।
प्रॉक्सी लें →