Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 124ff3f5e3 1.232.2 2023-11-09 01:10:08 +01:00
DebaucheryLibrarian 1cf06a8b49 Fixed Vixen upcoming. 2023-11-09 01:10:05 +01:00
3 changed files with 22 additions and 20 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.232.1",
"version": "1.232.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.232.1",
"version": "1.232.2",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

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

View File

@ -75,7 +75,8 @@ function scrapeAll(scenes, channel) {
});
}
function scrapeUpcoming(scene, site) {
function scrapeUpcoming(scenes, site) {
return scenes.map((scene) => {
if (!scene || scene.isPreReleasePeriod) {
return null;
}
@ -98,7 +99,8 @@ function scrapeUpcoming(scene, site) {
release.poster = curateSources(scene.images.poster);
release.teaser = curateSources(scene.previews.poster);
return [release];
return release;
}).filter(Boolean);
}
async function getTrailer(videoId, channel, url) {