do NOT sanitize ytdl filename; this breaks tagging and moving
This commit is contained in:
parent
71a5fd3522
commit
2027b80fb6
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class DelojzaBot:
|
|||
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
|
||||
ydl.download(urls)
|
||||
for info in [ydl.extract_info(url, download=False) for url in urls]:
|
||||
filename = self.sanitize(ydl.prepare_filename(info))
|
||||
filename = ydl.prepare_filename(info)
|
||||
globbeds = glob(os.path.splitext(filename)[0] + '.*')
|
||||
for globbed in globbeds:
|
||||
if globbed.endswith("mp3"):
|
||||
|
|
Loading…
Reference in a new issue