From e9b5232a963be02c2e86dabacb607b2315a4e0e6 Mon Sep 17 00:00:00 2001 From: Stijn Peeters Date: Fri, 12 Jul 2024 13:27:15 +0200 Subject: [PATCH] Ensure str type when trying to extract video URLs from a field --- processors/visualisation/download_videos.py | 1 + 1 file changed, 1 insertion(+) diff --git a/processors/visualisation/download_videos.py b/processors/visualisation/download_videos.py index 50217de4b..aa24a724b 100644 --- a/processors/visualisation/download_videos.py +++ b/processors/visualisation/download_videos.py @@ -667,6 +667,7 @@ def identify_video_urls_in_string(self, text): :param str text: string that may contain URLs :return list: list containing validated URLs to videos """ + text = str(text) split_comma = self.parameters.get("split-comma", True) if split_comma: texts = text.split(",")