You can get an IndieWeb user's avatar in one line of python:
— vil (@vilhalmer) August 10, 2018
site = 'https://t.co/5tn70Ey5Kj'; import bs4, requests, urllib.parse; urllib.parse.urljoin(site, bs4.BeautifulSoup(requests.get(site).content, 'html.parser').select('.h-card .u-photo')[0].attrs['src'])