first commit
هذا الالتزام موجود في:
19
backend/proxies.js
Normal file
19
backend/proxies.js
Normal file
@@ -0,0 +1,19 @@
|
||||
const { getRandomProxy } = require('./proxies');
|
||||
|
||||
|
||||
// قائمة proxies مجانية (يجب تحديثها بانتظام)
|
||||
const freeProxies = [
|
||||
'103.149.162.194:80',
|
||||
'45.7.64.106:999',
|
||||
'167.71.5.83:3128',
|
||||
'138.68.60.8:3128',
|
||||
'167.99.131.11:80',
|
||||
// إضافة المزيد من الـ proxies هنا
|
||||
];
|
||||
|
||||
// دالة للحصول على proxy عشوائي
|
||||
function getRandomProxy() {
|
||||
return freeProxies[Math.floor(Math.random() * freeProxies.length)];
|
||||
}
|
||||
|
||||
module.exports = { getRandomProxy };
|
المرجع في مشكلة جديدة
حظر مستخدم