Compare commits
2 Commits
2f9c2332f9
...
8a139e1ac0
Author | SHA1 | Date |
---|---|---|
|
8a139e1ac0 | |
|
be83505ecf |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.80.1",
|
"version": "1.80.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.80.1",
|
"version": "1.80.2",
|
||||||
"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": {
|
||||||
|
|
|
@ -7,6 +7,7 @@ const cheerio = require('cheerio');
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
|
|
||||||
const { ex } = require('../utils/q');
|
const { ex } = require('../utils/q');
|
||||||
|
const slugify = require('../utils/slugify');
|
||||||
|
|
||||||
async function fetchPhotos(url) {
|
async function fetchPhotos(url) {
|
||||||
const res = await bhttp.get(url);
|
const res = await bhttp.get(url);
|
||||||
|
@ -189,6 +190,9 @@ async function scrapeScene(html, url, site) {
|
||||||
release.tags = hasTrans ? [...rawTags, 'transsexual'] : rawTags;
|
release.tags = hasTrans ? [...rawTags, 'transsexual'] : rawTags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const channel = data?.productionCompany?.name || $('.studioLink a').attr('title')?.trim();
|
||||||
|
if (channel) release.channel = slugify(channel, { delimiter: '' });
|
||||||
|
|
||||||
release.poster = videoData.picPreview;
|
release.poster = videoData.picPreview;
|
||||||
|
|
||||||
const photoLink = $('.picturesItem a').attr('href');
|
const photoLink = $('.picturesItem a').attr('href');
|
||||||
|
|
Loading…
Reference in New Issue