forked from DebaucheryLibrarian/traxxx
Moved networks to GraphQL.
This commit is contained in:
@@ -50,7 +50,9 @@ function scrapeProfile(html, actorName) {
|
||||
if (bio.weight) profile.weight = Number(bio.weight.split(',')[0]);
|
||||
|
||||
profile.social = Array.from(document.querySelectorAll('.profile-meta-item a.social-icons'), el => el.href);
|
||||
profile.avatar = document.querySelector('.profile-image-large img').src;
|
||||
|
||||
const avatar = document.querySelector('.profile-image-large img').src;
|
||||
if (!avatar.match('placeholder')) profile.avatar = document.querySelector('.profile-image-large img').src;
|
||||
|
||||
return profile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user