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.
Isn't the playlist's title "Binomische Formeln"? #23800
Comments
|
|
OK, I was able to reproduce the error. When you use as input parameter the playlist's id youtube-dl works as expected, but not when you go: --batch-file "<file with exactly the same yt ids/uris>" $ _UA="Mozilla/5.0 (X11; Linux i686) KHTML/4.8.4 (like Gecko) Konqueror/4.8" $ _BRNX="/home/$(whoami)" $ _YT_PL="PL3DFDD61A6487A585" $ python ./youtube-dl --user-agent "${_UA}" --no-progress --no-call-home --continue --ignore-errors --no-overwrites --format "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" --write-auto-sub --write-sub --sub-lang "${Ls}" --write-info-json --yes-playlist --playlist-start 1 --output "${ODIR}/%(uploader)s/%(playlist_title)s/%(playlist_index)s%(title)s%(id)s.%(ext)s" "${_YT_PL}" $ _UA="Mozilla/5.0 (X11; Linux i686) KHTML/4.8.4 (like Gecko) Konqueror/4.8" and this is what I got: $ date; python ./youtube-dl --update $ date; python ./youtube-dl --version $ uname -a I haven't foudn the time to upgrade to the newest version using the sources lbrtchx |
because batch files are not treated as playlists, |
Not even when every line of the batch file obviously is a playlist based on the encoding that youtube itself uses? (playlists are prefixed as "PL.*" ) |
|
it doesn't matter if you pass URLs in the command line or in a batch file, youtube-dl will process them the same way. |
Checklist
Question
however when you try
--output "./%(uploader)s/%(playlist_title)s/%(playlist_index)s_%(title)s_%(id)s.%(ext)s"
with
https://www.youtube.com/playlist?list=PLyRHCLiLznwT3gSGryiQrZtuDUnivhAAT
or any other playlist from those "mathehilfe24" people:
https://www.youtube.com/user/mathehilfe24/playlists
and many other ones I have noticed, you get as playlist title: "NA" and the .info.json files of the videos show as attribute "null" for playlist and playlist_index
...
"playlist": null,
"title": "1. binomische Formel - \u00dcbung Anwendung - als Potenz schreiben",
"creator": null,
"is_live": null,
"playlist_index": null
...
I need to have all videos belonging to a certain playlist in a separate directory and I want them prefixed with their running index. How do you do that using youtube-dl?
lbrtchx