Skip to content

Commit

Permalink
Don't crash URL Titles when trying to extract URLs from numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Oct 14, 2024
1 parent a68f5d6 commit cbbf89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processors/metrics/url_titles.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def process(self):
self.dataset.update_status("Finding URLs in dataset")
for item in self.source_dataset.iterate_items(self):
# combine column contents that we need to extract URLs from
source_text = " ".join([item[column] for column in columns])
source_text = " ".join([str(item[column]) for column in columns])
urls = ural.urls_from_text(source_text)

for url in urls:
Expand Down

0 comments on commit cbbf89e

Please sign in to comment.