Compare commits

...

2 Commits

Author SHA1 Message Date
ThePendulum 850509257d 1.93.2 2020-02-15 02:06:23 +01:00
ThePendulum 30e58fb397 Added actor description to Full Porn Network profile scraper. 2020-02-15 02:06:21 +01:00
3 changed files with 6 additions and 3 deletions

2
package-lock.json generated
View File

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

View File

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

View File

@ -49,9 +49,12 @@ function scrapeScene({ q, qa, qd, qtx }, url) {
return release;
}
function scrapeProfile({ el, q }) {
function scrapeProfile({ el, q, qtx }) {
const profile = {};
const description = qtx('.model-bio');
if (description) profile.description = description;
profile.avatar = [
q('.model-image img', 'src0_2x'),
q('.model-image img', 'src0_1x'),