forked from DebaucheryLibrarian/traxxx
Fixed Kink profile scraper returning partial matches. Removed parent from BAM Visions and Vogov.
This commit is contained in:
@@ -152,7 +152,7 @@ async function fetchProfile(actorName, entity, include) {
|
||||
const searchRes = await qu.getAll(`https://kink.com/search?type=performers&q=${actorName}`, '.model');
|
||||
|
||||
if (searchRes.ok) {
|
||||
const actorItem = searchRes.items.find(() => qu.query.exists(`.model-link img[alt="${actorName}"]`));
|
||||
const actorItem = searchRes.items.find(item => item.query.exists(`.model-link img[alt="${actorName}"]`));
|
||||
|
||||
if (actorItem) {
|
||||
const actorPath = actorItem.query.url('.model-link');
|
||||
|
||||
Reference in New Issue
Block a user