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;
|
||||
}
|
||||
|
||||
function scrapeProfile(html, url, actorName, siteSlug) {
|
||||
const { document } = new JSDOM(html).window;
|
||||
const { q, qu } = ex(html);
|
||||
function scrapeProfile(html, url, actorName, _siteSlug) {
|
||||
const { q } = ex(html);
|
||||
|
||||
const avatar = q('img.actorPicture');
|
||||
const hair = q('.actorProfile .attribute_hair_color', true);
|
||||
|
|
Loading…
Reference in New Issue