def _clean_page_name(self, page, include_id):
        cleaned_name = page.url
        cleaned_name = cleaned_name.replace('http://', '')
        cleaned_name = cleaned_name.replace('https://', '')
        if include_id:
            cleaned_name = "%d. %s" % (page.id, cleaned_name)
        return cleaned_name
dataset/ETHPy150Open scrapinghub/frontera/frontera/utils/graphs/manager.py/CrawlGraphManager._clean_page_name/original