mirror of
https://github.com/Death916/c2cscrape.git
synced 2026-04-10 03:04:40 -07:00
fixed download title to prevent duplication when day changes
This commit is contained in:
parent
d93dbb103b
commit
623d28f772
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue