Compare commits

..

No commits in common. "0190ee953106a1871fe76630a7402f9375a032f9" and "6fb15fb591d62efe67f96f7c9a89a091e282eadd" have entirely different histories.

4 changed files with 5 additions and 7 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.135.0",
"version": "1.134.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

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

View File

@ -10,14 +10,12 @@ function scrapeAll(scenes) {
release.url = query.url('a');
release.entryId = release.url.match(/\/watch\/(\d+)/)[1];
release.title = query.cnt('.bottom .h4') || query.q('.bottom .link', 'title');
release.title = query.q('.bottom h4', true);
release.date = query.date('.extra-info:not(.actors)', 'DD MMMM YYYY');
release.actors = query.all('.actors a strong', true);
// const poster = query.img('.thumb img');
const poster = query.img('.thumb', 'data-bg');
const poster = query.img('.thumb img');
release.poster = [
poster.replace('512x288', '1472x828'),
poster,

View File

@ -141,7 +141,7 @@ function removeStyleFunctionSpaces(el) {
function style(context, selector, styleAttr) {
const el = q(context, selector);
if (el?.hasAttribute('style')) {
if (el) {
removeStyleFunctionSpaces(el);
return styleAttr ? el.style[styleAttr] : el.style;