Compare commits

..

No commits in common. "e84beacca1e1effb2a20ad67d903398968e54a3b" and "7ad2051dd716848c706b0af3d13436d62c4c4408" 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.245.9",
"version": "1.245.8",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.245.9",
"version": "1.245.8",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.458.0",

View File

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

View File

@ -49,6 +49,8 @@ function scrapeScene({ query }, { url, entity }) {
release.entryId = getEntryId(url);
release.title = query.content(['#media-holder .title', '.content-holder h1', '#scene h1', 'h2.titular', 'title'])?.replace(/\s+-$/, '');
console.log(release);
release.date = query.date('#sceneInfo .date, #trailer-data .date', 'YYYY-MM-DD');
release.duration = query.duration('#sceneInfo .data-others, #trailer-data', /\d+:\d+/);

View File

@ -66,7 +66,7 @@ function slugify(strings, delimiter = '-', {
: string;
const normalized = casedString
.replace(/[_-]+/g, ' ')
.replace(/[_-]/g, ' ')
.split('')
.map((char) => {
if (char === ' ') {