-
-
Notifications
You must be signed in to change notification settings - Fork 283
Closed
Labels
Waiting For ReleaseImplemented but not released yetImplemented but not released yetbugSomething isn't workingSomething isn't working
Description
⠀
- Tried latest version
Version 1.8.4 from F-Droid
⠀
- This issue is not duplicated with any other open or closed issues
Describe the bug
Cannot download audio/video if name contains two backslashes in its name, in this case it is "C:\\AR?A_M4TH"
Expected behavior
Audio/should be downloading normally
Steps to reproduce
Download this audio/video: https://www.youtube.com/watch?v=kV1x8229lxU
Device information
Device: Samsung A55
OS: Android 14
Screenshots / Recordings
No response
Additional context
Download log:
Downloading:
Title: C:\\AR?A_M4TH
URL: https://www.youtube.com/watch?v=kV1x8229lxU
Type: audio
Command:
--extractor-args "youtube:lang=en" -I "172:172" --newline -N "6" --cookies "/data/user/0/com.deniscerri.ytdl/cache/cookies.txt" --trim-filenames "181" --no-mtime --sponsorblock-remove "music_offtopic" -f "ba[language^=en]/ba/b" -x -S "acodec:opus" -P "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/2736" --ppa "ThumbnailsConvertor:-qmin 1 -q:v 1 -vf crop=\"'if(gt(ih,iw),iw,ih)':'if(gt(iw,ih),ih,iw)'\"" -o "%(uploader).30B - %(title).170B.%(ext)s" --replace-in-metadata "title" ".+" "C:\\AR?A_M4TH" --parse-metadata "%(title)s:%(meta_title)s" --replace-in-metadata "uploader" ".+" "bxnwxghxrn" --parse-metadata "%(uploader)s:%(artist)s" --embed-metadata --parse-metadata "%(playlist_uploader,artist|)s:^(?P<first_artist>.*?)(?:(?=,\s+)|$)" --parse-metadata "%(album,playlist_title,playlist|)s:%(meta_album)s" --parse-metadata "%(album_artist,first_artist|)s:%(album_artist)s" --parse-metadata "description:(?:.+?Released\ on\s*:\s*(?P<dscrptn_year>\d{4}))?" --parse-metadata "%(dscrptn_year,release_year,release_date>%Y,upload_date>%Y)s:(?P<meta_date>\d+)" --parse-metadata "%(track_number,playlist_index)d:(?P<track_number>\d+)" --embed-thumbnail --convert-thumbnails "jpg" "https://www.youtube.com/playlist?list=LM"
ERROR: bad escape \A at position 2
Metadata
Metadata
Assignees
Labels
Waiting For ReleaseImplemented but not released yetImplemented but not released yetbugSomething isn't workingSomething isn't working