class documentation

Link objects represent an extracted link by the LinkExtractor. Using the anchor tag sample below to illustrate the parameters:: <a href="https://example.com/nofollow.html#foo" rel="nofollow">Dont follow this one</a> :param url: the absolute url being linked to in the anchor tag. From the sample, this is ``https://example.com/nofollow.html``. :param text: the text in the anchor tag. From the sample, this is ``Dont follow this one``. :param fragment: the part of the url after the hash symbol. From the sample, this is ``foo``. :param nofollow: an indication of the presence or absence of a nofollow value in the ``rel`` attribute of the anchor tag.

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable fragment Undocumented
Instance Variable nofollow Undocumented
Instance Variable text Undocumented
Instance Variable url Undocumented
def __eq__(self, other): (source)

Undocumented

def __hash__(self): (source)

Undocumented

def __init__(self, url, text='', fragment='', nofollow=False): (source)

Undocumented

def __repr__(self): (source)

Undocumented

__slots__: list[str] = (source)

Undocumented

fragment = (source)

Undocumented

nofollow = (source)

Undocumented

Undocumented

Undocumented