forked from DebaucheryLibrarian/traxxx
Cleaned up Gamma profile scraper.
This commit is contained in:
parent
65f98c6387
commit
44f0064b42
|
@ -237,9 +237,8 @@ function scrapeActorSearch(html, url, actorName) {
|
||||||
return actorLink ? actorLink.href : null;
|
return actorLink ? actorLink.href : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function scrapeProfile(html, url, actorName, siteSlug) {
|
function scrapeProfile(html, url, actorName, _siteSlug) {
|
||||||
const { document } = new JSDOM(html).window;
|
const { q } = ex(html);
|
||||||
const { q, qu } = ex(html);
|
|
||||||
|
|
||||||
const avatar = q('img.actorPicture');
|
const avatar = q('img.actorPicture');
|
||||||
const hair = q('.actorProfile .attribute_hair_color', true);
|
const hair = q('.actorProfile .attribute_hair_color', true);
|
||||||
|
|
Loading…
Reference in New Issue