@staticmethod
    def __html_find_base(document):
        base_uri = None

        # <base href="http://www.w3schools.com/images/" target="_blank">
        base_tag = document.find("base", {"href": True})
        if base_tag:
            # @fixme html-decode !
            base_uri = base_tag["href"]

        return base_uri
Convert a value to uppercase.
dataset/ETHPy150Open k4cg/nichtparasoup/crawler/__init__.py/Crawler.__html_find_base--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/lib/jinja2/filters.py/do_upper