def parse_torrent_link(table_data):
        """
        Static method that parses list of table data, finds all anchor elements
        and gets the torrent url. However the torrent url is usually hidden behind a fake spam ad url,
        this is handled.

        :param list lxml.HtmlElement table_data: table_data tag to parse
        :return: torrent url from anchor (link) element
        :rtype: str
        """
        anchors = table_data.findall('./a')
        link_tag = anchors[0] if len(anchors) < 2 else anchors[1]
        return link_tag.get('href')
Static method that parses list of table data, finds all anchor elements
        and gets the torrent url. However the torrent url is usually hidden behind a fake spam ad url,
        this is handled.

        :param list lxml.HtmlElement table_data: table_data tag to parse
        :return: torrent url from anchor (link) element
        :rtype: str