[BS4] What am i doing wrong?
AzureScripts (164)

I am trying to grab the src url of a image, it works for avatar_img but not for character_img. Not sure why.

You are viewing a single comment. View All
Klokat (42)

I'm not really familiar with Roblox and not sure if you've already fixed it. But here is a potential solution to your problem

character_image = soup.find('span', attrs={'class' : 'thumbnail-span-original'}).img['src']

'thumbnail-span-original' instead of 'thumbnail-span'. It could be that this isn't what you were looking for. Cheers!

AzureScripts (164)

Exactly what i wanted! Thank you!