mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-04-16 12:38:56 +08:00
Compare commits
7 Commits
b4b96c0081
...
6340634ea1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6340634ea1 | ||
|
|
394a36fafd | ||
|
|
98331ae182 | ||
|
|
dfa5625315 | ||
|
|
34184d4e81 | ||
|
|
9b4ef9d439 | ||
|
|
b78a2abe1e |
@@ -78,6 +78,7 @@ if (process.env.DP_POOL) {
|
||||
try {
|
||||
require("global-agent/bootstrap");
|
||||
global.GLOBAL_AGENT.HTTP_PROXY = process.env.DP_POOL;
|
||||
global.GLOBAL_AGENT.NO_PROXY = '127.0.0.1,localhost';
|
||||
console.log(`\n---------------使用代理池模式---------------\n`);
|
||||
} catch {
|
||||
throw new Error(`请安装global-agent依赖,才能启用代理!`);
|
||||
|
||||
7
jd_3c_task.js
Normal file
7
jd_3c_task.js
Normal file
File diff suppressed because one or more lines are too long
12
jd_dplh1105.js
Normal file
12
jd_dplh1105.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user