Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 1d38ba1141 1.234.1 2023-12-01 02:09:26 +01:00
DebaucheryLibrarian 9ea317939b Fixed session reuse in Aylo scraper. 2023-12-01 02:09:24 +01:00
4 changed files with 4 additions and 6 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.234.0", "version": "1.234.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx", "name": "traxxx",
"version": "1.234.0", "version": "1.234.1",
"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.0", "version": "1.234.1",
"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?.headers?.Instance const { instanceToken } = options.beforeNetwork?.instanceToken
? options.beforeNetwork ? options.beforeNetwork
: await getSession(site, options.parameters, url); : await getSession(site, options.parameters, url);

View File

@ -330,8 +330,6 @@ 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));