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.
Checklist
Verbose log
Description
When downloading this channel https://www.youtube.com/channel/UCCRb6nYKaT8tzLA8CwDdUtw from a batch file one of the videos has an error.
ERROR: [WinError 2] The system cannot find the file specified: 'D:\Kpop\Twice\Twice Youtube\Twice Japan Youtube Channel\20190110 - TWICE「LIKEY -Japanese ver.-」Music Video.zh-Hant.vtt'
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'D:\Kpop\Twice\Twice Youtube\Twice Japan Youtube Channel\20190110 - TWICE「LIKEY -Japanese ver.-」Music Video.zh-Hant.vtt'
This is my config file
-i
-o "D:\Kpop\Twice\Twice Youtube\Twice Japan Youtube Channel/%(upload_date)s - %(title)s"
--download-archive youtube-dl-archive.txt
-a youtube-dl-channels.txt
-f 272+140/315+140/313+140/308+14/271+140/299+140/137+140/298+140/136+140/135+140/134+140/133+140/bestvideo+bestaudio --merge-output-format mp4
--write-thumbnail
--embed-thumbnail
--add-metadata
--write-description
--write-sub
--all-subs
--embed-subs
-v
When downloading the whole channel all the other subs embed fine and are deleted after they are embedded. When it gets to this video the subtitle are downloaded but when attempting to embed the subs the files aren't found but I can see them in the folder.
When downloading the video by itself with "youtube-dl -f 137+140 --merge-output-format mp4 --write-thumbnail --embed-thumbnail --add-metadata --write-description --write-sub --all-subs --embed-subs https://www.youtube.com/watch?v=N7MKlhS2ysU" the sub files are found and are embedded.
Out of the 48 videos on the channel this is the only video I'm having problems with.
Sorry If this is a mess I've never written one of these before.