إعداد البروكسي في 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/غيغابايت
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؟›
كم يكلّف هذا؟›
تكاملات أخرى
شغّل node-fetch / undici عبر عناوين سكنية
$7.35/غيغابايت عند 1 غيغابايت، و$2.57/غيغابايت بالجملة — نفس بيانات الدخول في كل أداة.
احصل على بروكسيات ←