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",
"version": "1.234.1",
"version": "1.234.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.234.1",
"version": "1.234.0",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.458.0",

View File

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

View File

@ -299,7 +299,7 @@ async function fetchLatest(site, page = 1, options) {
return null;
}
const { instanceToken } = options.beforeNetwork?.instanceToken
const { instanceToken } = options.beforeNetwork?.headers?.Instance
? options.beforeNetwork
: 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);
}
console.log(url, options);
const res = await (body
? http[method](url, body, options)
: http[method](url, options));