

def handle_starttag(self, tag, attrs):
    if (tag == 'img'):
        src = [v for (k, v) in attrs if (k == 'src')]
        if src:
            self.urls.append(('', src[0]))

dataset/ETHPy150Open DjangoAdminHackers/django-linkcheck/linkcheck/__init__.py ImageLister.handle_starttag/original