[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How would one rip an entire Youtube channel/playlist to MP3s?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 21
Thread images: 3

File: 1476543112124.jpg (61KB, 540x960px) Image search: [Google]
1476543112124.jpg
61KB, 540x960px
How would one rip an entire Youtube channel/playlist to MP3s?

There are a billion fucking programs/extensions available, but they all look like viruses. What does /g/ use?
>>
youtube-dl. If I recall correctly it can handle playlists, not sure about channels.
>>
youtube-dl -x --audio-format mp3 --audio-quality 2 


ps. youtube doesn't use mp3, don't convert to mp3, that's dumb
>>
>>57349606
jdownloader
>>
Alright, thanks everyone.

>>57349670

What audio format would be optimal, if that's the case?
>>
>>57349737
160k opus is the best format youtube provides

just use "youtube-dl -f bestaudio <url>", it'll pick the best available audio stream and download it as-is
>>
>>57349768

Thanks!
>>
I have seen YouTube-DL posted before but it uses the command line. Is there a GUI version for windows?
>>
>>57349818
what kind of gui would you expect?
>>
>>57349836
Any
>>
>>57349818
There's really no need at all, it's easy enough through the command line.
I have a simple BASH script for selecting formats rather than viewing the list manually, someone who has Windows could probably easily rewrite it in batch.

#!/bin/sh
answer=""
tput clear
echo "Give the YouTube URL: \c"
# Paste video URL
read answer
# Lists possible qualities
youtube-dl -F $answer
# Select quality choice
echo "Select Quality or enter 99 to quit: \c"
read qual

# If 99 (quit) not selected, proceed to download
if [ $qual -ne 99 ]
then
# Edit this line to select correct output
youtube-dl -f $qual -o "~/Movies/YouTube/%(title)s.%(ext)s" $answer

# If 99 was selected, quit
else
exit 0
fi
>>
>>57349920
or you can write your preferences as a set of rules, so what you would have picked is picked automatically

for example;
0/(bestvideo[vcodec=vp9][fps>=50]/bestvideo[fps>=50]/bestvideo)[height<=1080][tbr<5000][protocol!=http_dash_segments]+(bestaudio[acodec=opus]/bestaudio[ext=webm]/bestaudio)/best
>>
>>57350000
DEM QUADS
>>
>>57350015
k
>>
youtube-dl automatically adds the URL to the filename and I don't want that. Couldn't seem to find the option to remove that in the readme or help. Anyone know what that is? I just want the filename to be the exact title of the video.
>>
>>57350073

RTFM

https://github.com/rg3/youtube-dl/blob/master/README.md#readme
>>
>>57350103

see

>>57350073
>Couldn't seem to find the option to remove that in the readme or help.

I already read through it and couldn't locate that option.
>>
File: over-rustle.gif (613KB, 200x133px) Image search: [Google]
over-rustle.gif
613KB, 200x133px
>>57349920
>this "script"
>>
>>57350135

You need to read better.

The option is --output.
You will need to read the documentation to use it properly though, do back to square one : RTFM.
>>
>>57350167

Alright, got it. Added this and it worked.

-o %(title)s.%(ext)s
>>
File: 1477389856250.jpg (798KB, 1920x1080px) Image search: [Google]
1477389856250.jpg
798KB, 1920x1080px
>>57349818
You don't need gui version. You can download youtube-dl from chocolatey:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
(just type this in cmd with admin rights)
Thread posts: 21
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.