Added actor description to Full Porn Network profile scraper.

This commit is contained in:
ThePendulum 2020-02-15 02:06:21 +01:00
parent d69e1a1231
commit 30e58fb397
1 changed files with 4 additions and 1 deletions

View File

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