def download_skipped(self, msg, reason=""):
        """This function prints already downloaded msg"""
        prefix = (
            "\033[2K\033[1G\r\r"
            + Fore.CYAN
            + Style.DIM
            + "["
            + Fore.MAGENTA
            + Style.BRIGHT
            + "+"
            + Fore.CYAN
            + Style.DIM
            + "] : "
        )
        if self._log_filepath:
            log.warning(f"{msg} (download skipped)")
        msg = (
            set_color(f"{msg} (", level=70)
            + set_color("download skipped", level=30)
            + set_color(")\r\n", level=70)
        )
        string = prefix + msg
        sys.stdout.write(string)
        sys.stdout.flush()
        if reason:
            self.error(msg=reason, new_line=True)
This function prints already downloaded msg
udemy/logger.py