@oreohq/ytdl-core 4.15.1 → 4.15.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/info.js +1 -1
- package/lib/sig.js +2 -2
- package/lib/utils.js +5 -5
- package/package.json +1 -1
- package/typings/index.d.ts +1 -1
package/lib/info.js
CHANGED
@@ -190,7 +190,7 @@ const getWatchHTMLPage = async (id, options) => {
|
|
190
190
|
`Please report this issue with the "${utils.saveDebugFile(
|
191
191
|
"watch.html",
|
192
192
|
body,
|
193
|
-
)}" file on https://github.com/
|
193
|
+
)}" file on https://github.com/oreohq/ytdl-core/issues.`,
|
194
194
|
);
|
195
195
|
}
|
196
196
|
return info;
|
package/lib/sig.js
CHANGED
@@ -167,7 +167,7 @@ const extractDecipher = body => {
|
|
167
167
|
`Please report this issue with the "${utils.saveDebugFile(
|
168
168
|
"base.js",
|
169
169
|
body,
|
170
|
-
)}" file on https://github.com/
|
170
|
+
)}" file on https://github.com/oreohq/ytdl-core/issues.\nStream URL will be missing.`,
|
171
171
|
);
|
172
172
|
decipherWarning = true;
|
173
173
|
}
|
@@ -212,7 +212,7 @@ const extractNTransform = body => {
|
|
212
212
|
`Please report this issue with the "${utils.saveDebugFile(
|
213
213
|
"base.js",
|
214
214
|
body,
|
215
|
-
)}" file on https://github.com/
|
215
|
+
)}" file on https://github.com/oreohq/ytdl-core/issues.`,
|
216
216
|
);
|
217
217
|
nTransformWarning = true;
|
218
218
|
}
|
package/lib/utils.js
CHANGED
@@ -244,7 +244,7 @@ exports.checkForUpdates = () => {
|
|
244
244
|
if (pkgFile.version !== pkg.version && updateWarnTimes++ < 5) {
|
245
245
|
// eslint-disable-next-line max-len
|
246
246
|
console.warn(
|
247
|
-
'\x1b[33mWARNING:\x1B[0m @
|
247
|
+
'\x1b[33mWARNING:\x1B[0m @oreohq/ytdl-core is out of date! Update with "npm install @oreohq/ytdl-core@latest".',
|
248
248
|
);
|
249
249
|
}
|
250
250
|
},
|
@@ -361,7 +361,7 @@ exports.applyDefaultAgent = options => {
|
|
361
361
|
oldCookieWarning = false;
|
362
362
|
console.warn(
|
363
363
|
"\x1b[33mWARNING:\x1B[0m Using old cookie format, " +
|
364
|
-
"please use the new one instead. (https://github.com/
|
364
|
+
"please use the new one instead. (https://github.com/oreohq/ytdl-core#cookies-support)",
|
365
365
|
);
|
366
366
|
}
|
367
367
|
}
|
@@ -370,7 +370,7 @@ exports.applyDefaultAgent = options => {
|
|
370
370
|
console.warn(
|
371
371
|
"\x1b[33mWARNING:\x1B[0m Your dispatcher is overridden by `ytdl.Agent`. " +
|
372
372
|
"To implement your own, check out the documentation. " +
|
373
|
-
"(https://github.com/
|
373
|
+
"(https://github.com/oreohq/ytdl-core#how-to-implement-ytdlagent-with-your-own-dispatcher)",
|
374
374
|
);
|
375
375
|
}
|
376
376
|
options.agent = AGENT.defaultAgent;
|
@@ -390,7 +390,7 @@ exports.applyOldLocalAddress = options => {
|
|
390
390
|
oldLocalAddressWarning = false;
|
391
391
|
console.warn(
|
392
392
|
"\x1b[33mWARNING:\x1B[0m Using old localAddress option, " +
|
393
|
-
"please add it to the agent options instead. (https://github.com/
|
393
|
+
"please add it to the agent options instead. (https://github.com/oreohq/ytdl-core#ip-rotation)",
|
394
394
|
);
|
395
395
|
}
|
396
396
|
};
|
@@ -406,7 +406,7 @@ exports.applyIPv6Rotations = options => {
|
|
406
406
|
oldLocalAddressWarning = false;
|
407
407
|
console.warn(
|
408
408
|
"\x1b[33mWARNING:\x1B[0m IPv6Block option is deprecated, " +
|
409
|
-
"please create your own ip rotation instead. (https://github.com/
|
409
|
+
"please create your own ip rotation instead. (https://github.com/oreohq/ytdl-core#ip-rotation)",
|
410
410
|
);
|
411
411
|
}
|
412
412
|
}
|
package/package.json
CHANGED
package/typings/index.d.ts
CHANGED
@@ -322,7 +322,7 @@ declare module "tough-cookie" {
|
|
322
322
|
}
|
323
323
|
}
|
324
324
|
|
325
|
-
declare module "@
|
325
|
+
declare module "@oreohq/ytdl-core" {
|
326
326
|
import { Dispatcher, ProxyAgent, request } from "undici";
|
327
327
|
import { Cookie as CK, CookieJar } from "tough-cookie";
|
328
328
|
import { CookieAgent } from "http-cookie-agent/undici";
|