Compare commits

..

No commits in common. "1d38ba11414c45a05d516e05252ee1ad3cf4a619" and "353fe6d6f8c20779a09d1198f770bcf5d197508c" have entirely different histories.

4 changed files with 6 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.234.1", "version": "1.234.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx", "name": "traxxx",
"version": "1.234.1", "version": "1.234.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.458.0", "@aws-sdk/client-s3": "^3.458.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.234.1", "version": "1.234.0",
"description": "All the latest porn releases in one place", "description": "All the latest porn releases in one place",
"main": "src/app.js", "main": "src/app.js",
"scripts": { "scripts": {

View File

@ -299,7 +299,7 @@ async function fetchLatest(site, page = 1, options) {
return null; return null;
} }
const { instanceToken } = options.beforeNetwork?.instanceToken const { instanceToken } = options.beforeNetwork?.headers?.Instance
? options.beforeNetwork ? options.beforeNetwork
: await getSession(site, options.parameters, url); : await getSession(site, options.parameters, url);

View File

@ -330,6 +330,8 @@ async function request(method = 'get', url, body, requestOptions = {}, limiter)
return bypassCloudflareRequest(url, method, body, withCloudflareBypass, options); return bypassCloudflareRequest(url, method, body, withCloudflareBypass, options);
} }
console.log(url, options);
const res = await (body const res = await (body
? http[method](url, body, options) ? http[method](url, body, options)
: http[method](url, options)); : http[method](url, options));