def __getitem__(self, key):
            return self.attrs[key]
tag[key] returns the value of the 'key' attribute for the tag,
dataset/ETHPy150Open mtlevolio/pylinkchecker/pylinkchecker/bs4/element.py/Tag.__getitem__