ULX

Author Topic: YT playlist to mp3 site/app.  (Read 11451 times)

0 Members and 1 Guest are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
YT playlist to mp3 site/app.
« on: August 12, 2017, 12:48:00 PM »
Ok. There's tons of websites out there that will let me do a single download of a video.
There's a few sites that will, but limited for free, allow playlists.
VLC will even let me save an mp4 or mp3 of a -single- youtube URL at a time.
(You can load a YT playlist into VLC and play them consecutively, but you can't mass convert it seems)

Does anyone know a non-malware - non adware - non-virus infected way to download / convert to mp3 a YT playlist?
I'd prefer an app I don't have to install, but can just 'run' from a folder
(ie, like a portable app - I hate installations for stuff I'll rarely use, and require admin privileges which can open me to further abuse)
Bonus if it's an online app with more than a 3 minute 30 item list limit.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Timmy

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • Code monkey
Re: YT playlist to mp3 site/app.
« Reply #1 on: August 14, 2017, 09:09:29 AM »
Software:
- youtube-dl + FFmpeg. (Uses the command-line. Runs without admin privileges. Works really well. Use the following command for mp3 audio of all videos in a YT playlist: youtube-dl --ignore-errors --extract-audio --audio-format mp3 <url to playlist>)

Edit - Removed dead links to online services.
« Last Edit: August 17, 2019, 07:48:49 PM by Timmy »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: YT playlist to mp3 site/app.
« Reply #2 on: August 14, 2017, 01:37:13 PM »
Plus one for youtube-dl, I use it frequently. :)
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: YT playlist to mp3 site/app.
« Reply #3 on: August 14, 2017, 07:29:44 PM »
Thanks for youtube-dl. I've got various ffmpeg exe all over my various tools folders (even Plex media server uses a customized compile of it I think)
As you mentioned on one, I kept coming across imposed limits. 3 min vid limit. 20 video playlist limit, etc etc.
I mean, I perfectly understand why there were limits (cpu cost/hosting cost, etc), but, let's face it, charging to rip a video when you yourself are running a site against YT TOS?
*shakes head*
Some pirates, I tell ya.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline PasqualeFab

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: YT playlist to mp3 site/app.
« Reply #4 on: August 17, 2017, 02:56:40 AM »
Thanks for youtube-dl. I've got various ffmpeg exe all my various tools folders (even Plex media server uses a customized compile of it I think)
As you mentioned on one, I kept coming across imposed limits. 3 min vid limit. 20 video playlist limit, etc etc.
I mean, I perfectly understand why there were limits (cpu cost/hosting cost, etc), but, let's face it, charging to rip a video when you yourself are running a site against YT TOS?
*shakes head*
Some pirates, I tell ya.

Do you have to do each song individually?
« Last Edit: August 07, 2019, 10:56:10 AM by PasqualeFab »
I just love burning belly fat with this fat burner because it works.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: YT playlist to mp3 site/app.
« Reply #5 on: August 17, 2017, 07:22:19 PM »
Do you have to do each song individually?

No. That's what I was attempting to avoid, and youtube-dl + ffmpeg(and ffprobe) worked great.
I studied the command line options at youtube-dl's site and got a bit more complex.

Software:
- youtube-dl + FFmpeg. (Uses the command-line. Runs without admin privileges. Works really well. Use the following command for mp3 audio of all videos in a YT playlist: youtube-dl --ignore-errors --extract-audio --audio-format mp3 <url to playlist>)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: YT playlist to mp3 site/app.
« Reply #6 on: August 13, 2019, 07:23:07 PM »
Because some keep spamming this post with sites that are limited to time or number of vids, or, to time before they get shut down.

I use Youtube-dl as recommended by others.
https://github.com/ytdl-org/youtube-dl

The win batch file I use is as follows. (URL must be in quotes)
Code: [Select]
youtube-dl.exe -x --audio-quality 0 --audio-format mp3 --add-metadata --no-mark-watched -o %%(title)s.%%(ext)s --restrict-filenames --no-mtime -i %1
I forget what all the options mean at this time.
See youtube-dl documentation.

I've obtained many items this way. (Not tried it in past few months, youtube-dl updates often, as does YT in trying to prevent it)


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming