Added actor description to Full Porn Network profile scraper.
This commit is contained in:
parent
d69e1a1231
commit
30e58fb397
|
@ -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'),
|
||||||
|
|
Loading…
Reference in New Issue