fixed download title to prevent duplication when day changes

This commit is contained in:
Death916 2025-02-21 02:40:40 -08:00
parent d93dbb103b
commit 623d28f772

View file

@ -86,7 +86,7 @@ class C2CScrape:
date = datetime.datetime.now().strftime('%Y-%m-%d')
# Create sanitized filename
filename = f'{episode_data["title"]} {date}.mp4'
filename = f'{episode_data["title"]}.mp4'
safe_filename = self.sanitize_filename(filename)
filepath = os.path.join(download_dir, safe_filename)