3

I want to input a list of "Artist - Title" and automatically generate a YT playlist or list of YT links.

ChatGPT can't do this as it doesn't respond with links, maybe another chatbot? It did give this suggestion to achieve this tool:

https://chat.openai.com/share/e8629f53-aa9c-4581-9a6a-75bc88fae9b8

Edit: Bing chatbot can give a list of links: https://imgur.com/a/pzfazYJ The ultimate result would be directly generating a YT playlist from a list of title.

1 Answer 1

4

You can use yt-dlp. For example:

yt-dlp "ytsearch:Rammstein Ohne Dich" --skip-download --print webpage_url

That looks for the best match and outputs the URL like this:

https://www.youtube.com/watch?v=LIPc1cfS-oQ

You can easily loop through e.g. text file with Artist - Title lines in PowerShell to batch output links for everything, e.g.:

Get-Content songs.txt | % { yt-dlp "ytsearch:$_" --skip-download --no-warnings --print webpage_url }

See:

for more options.

2
  • Thank you for your suggestion, since I am not a coder it is a challenge for me. I have found an alternative, bing chat: imgur.com/a/pzfazYJ
    – FazerAoe
    Commented Aug 29, 2023 at 16:10
  • You really don't need to be a programmer to paste a command to PowerShell window. But AI could work too indeed, with a bit lower reliability.
    – Destroy666
    Commented Aug 29, 2023 at 19:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.