def extract_url()

in modules/python/src/datapreprocessing/datacleaner.py [0:0]


    def extract_url(self, image_list: str) -> List[str]:
        """
        Extracts image URLs from a string containing a comma-separated list of URLs.

        Args:
            image_list (str): A string containing a comma-separated list of image URLs, potentially with brackets and quotes.

        Returns:
            List[str]: A list of extracted image URLs.
        """
        return image_list.replace("[", "").replace("]", "").replace('"', "").split(",")