Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Double quote characters turn entire playlist name into "\" [bandcamp:album] #10455
Comments
|
I had the same issue, hence here's one possible fix: Note: possibly this could be done right before any extraction is performed on the webpage. Cause of the problem is the ... makes the regex exit immediately (see below) Alternative Fix: use the regex itself to jump the quotes Details: Cloned into: https://github.com/PedroLopes/youtube-dl P.s.: @bryc I think your text command should have quotes too (at least I needed those to replicate your issue), hence: |
|
p.s.: added a pull request for such (#10495) |


This occurs when attempting to download an album on Bandcamp with names such as "Entropy" EP that contain quotes. I'd expect an output folder name such as Entropy EP or Entropy EP, however for some reason it gives only
\instead, is substituted as_when written as a folder.Using this command line:
youtube-dl -v -a urls.txt -i -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s"It creates a folder called "_" from the "" character, and puts all downloaded files there, so any affected album names will end up there. However on the very first line of the output, it gets it right: "[Bandcamp:album] entropy-ep" Why isn't it using that?
URL to the album is here: https://jstrecords.bandcamp.com/album/entropy-ep