Adds get_avatar to fetch avatars from all websites. Currently works for everything except Behance. Only works for Facebook if profile == visible(as expected). The function expects the user's page to exist, but handles most errors gracefully even if it doesn't(['pinterest', 'gitlab'] are offenders of this).
Adds appropriate tests, maybe they should be mixed with test_username_check, but I think the repo could use some more breaking down into parts, perhaps this could be a start.
Adds
get_avatar
to fetch avatars from all websites. Currently works for everything except Behance. Only works for Facebook ifprofile == visible
(as expected). The function expects the user's page to exist, but handles most errors gracefully even if it doesn't(['pinterest', 'gitlab']
are offenders of this).Adds appropriate tests, maybe they should be mixed with test_username_check, but I think the repo could use some more breaking down into parts, perhaps this could be a start.
Closes #35