Albretch

Results 12 comments of Albretch

It worked when I used the URL, but not when I tried to use the local copy of the file! I need to parse these metadata as part of a...

$ ./yt-dlp --enable-file-urls --load-info-json "/PLuBXqtS2jaLPopv899QwFphiirmD_XWdq/PLuBXqtS2jaLPopv899QwFphiirmD_XWdq.info.json" -O "%(playlist_index)r, %(display_id)r, %(fulltitle)r, %(duration_string)r" WARNING: The info failed to download: There are no entries; trying with URL https://www.youtube.com/playlist?list=PLuBXqtS2jaLPopv899QwFphiirmD_XWdq WARNING: [youtube:tab] [Errno -2] Name or...

> Playlist infojon usually does not contain any information of the videos in the playlist, only metadata of the playlist itself. You need to add `--no-clean-info` when writing as well...

the aspect I haven't been able to figure out is parsing at least the display_id of private videos: ./yt-dlp -O "%(playlist_index)r, %(display_id)r, %(fulltitle)r, %(duration_string)r" ERROR: [youtube] dEB4qmoVFlE: Private video. Sign...

> I also get a jq null entry just like that with downloaded Youtube live chat, where a chat moderator has deleted a comment or there is otherwise a missing...

> > if you actually download the .info.json file and parse it locally with jq you would get a different data than the one you get when you use yt-dlp...

> > `--ignore-no-formats-error` > > have you tried this? I see no profitable difference: $ time ./yt-dlp --ignore-no-formats-error -O "%(playlist_index)r, %(display_id)r, %(fulltitle)r, %(duration_string)r" "PLuBXqtS2jaLPopv899QwFphiirmD_XWdq" WARNING: [youtube:tab] YouTube said: INFO -...

So, they are hiding/"truncating" the links, by sending whatever data inside of the h4 segment when you click on or hover over it and that data is used to produce...

the answer to my own question is: anywhere in the "$PATH" `$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games` `$ sudo cp --verbose ".../getoptions" /usr/bin '.../getoptions' -> '/usr/bin/getoptions' user@debian:~$ which getoptions /usr/bin/getoptions $ `

`./yt-dlp --playlist-items 0 --print playlist:description "${_YT_PL_URL}"` worked, but why can't you extract that information from the playlist metadata file that you have already downloaded? Or, is that a different hit/request...