diff --git a/processors/visualisation/download_tiktok.py b/processors/visualisation/download_tiktok.py index ed39ab45f..956609983 100644 --- a/processors/visualisation/download_tiktok.py +++ b/processors/visualisation/download_tiktok.py @@ -63,7 +63,7 @@ def get_options(cls, parent_dataset=None, user=None): # Update the amount max and help from config max_number_videos = int(config.get('video-downloader.max', 1000, user=user)) options['amount']['max'] = max_number_videos - options['amount']['help'] = f"No. of images (max {max_number_videos:,})" + options['amount']['help'] = f"No. of videos (max {max_number_videos:,})" return options @@ -174,9 +174,9 @@ def get_options(cls, parent_dataset=None, user=None): options = cls.options # Update the amount max and help from config - max_number_images = int(config.get('image-downloader.max', 1000)) + max_number_images = int(config.get("image-downloader.max", 1000, user=user)) options['amount']['max'] = max_number_images - options['amount']['help'] = "No. of images (max %s)" % max_number_images + options['amount']['help'] = f"No. of images (max {max_number_images:,})" return options