Compare commits

...

2 Commits

Author SHA1 Message Date
ThePendulum dfa0183669 1.77.6 2020-02-03 02:12:04 +01:00
ThePendulum 944f091ca5 Adapted Score scraper for Scoreland2. 2020-02-03 02:12:02 +01:00
3 changed files with 6 additions and 3 deletions

2
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.77.5", "version": "1.77.6",
"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

@ -88,7 +88,10 @@ async function scrapeScene(html, url) {
if (photosUrl) { if (photosUrl) {
release.photos = await fetchPhotos(photosUrl); release.photos = await fetchPhotos(photosUrl);
} else { } else {
release.photos = qis('img[src*=ThumbNails]'); release.photos = qis('img[src*=ThumbNails], .p-photos .tn img').map(photo => [
photo.replace('_tn', ''),
photo,
]);
} }
const trailer = qt(); const trailer = qt();