Some usernames will get "trapped" into always returning an empty Twitch icon/banner
For some reason, some usernames will always return empty Twitch banners, even if the account does not exist.
Sample URL: https://unavatar.io/hgstyleofficial
Twitch account (that does not exist, and yet it returns a Twitch avatar): https://www.twitch.tv/hgstyleofficial
By the way, this makes it unable to retrieve the correct avatar from https://x.com/hgstyleofficial
Also, some usernames with a valid, existing Twitch account and valid profile picture will also be "trapped" into returning an empty Twitch icon.
Sample URL: https://unavatar.io/hgstyleofficiel
Twitch account (that exists, this time): https://www.twitch.tv/hgstyleofficiel
And even if https://youtube.com/@hgstyleofficiel exists, well, it will still return the Twitch icon, even if it's empty.
EDIT: Just saw I could force the YouTube logo instead of the Twitch logo with https://unavatar.io/youtube/hgstyleofficiel, still I believe that maybe implementing a check to detect the SHA hash of that empty Twitch logo (and if present, skip the Twitch logo and continue with other providers) would be cool to have.
+1 for this. I received a Twitch logo for my username, for which there is no existing Twitch account.
Sample URL: https://unavatar.io/weavermedia
Twitch account (that does not exist, and yet it returns a Twitch avatar): https://www.twitch.tv/weavermedia
I can retrieve the correct avatar from https://unavatar.io/github/weavermedia but for my use case I can't specify provider.
Good idea to check the SHA of there Twitch logo. That's also something I could implement on my end in the meantime.
For that example, I believe someone had created an account with that profile picture, and it is now deleted, and maybe the caching system still has the icon?