Skip to content

Commit

Permalink
Ensure str type when trying to extract video URLs from a field
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Jul 12, 2024
1 parent d69dd6f commit e9b5232
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions processors/visualisation/download_videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(",")
Expand Down

0 comments on commit e9b5232

Please sign in to comment.