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;
}
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'),