Youtube-dl front end - Page 1
Forum section: electronics / general

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 12:00:14 pm
content: After looking at Dave raint about not finding easy video download tool,I decided to finally make this code public. It was written in netbeans like a noob.For whosoever is good at programming and can improve my code,use it...how it was originally designed to be used-instructions-load the page of playlist you intend to download,on chromepress cltr+shift+icopy the '<body>' elementpaste it into ,where it says 'input source here'click 'generate commands' for highest quality video, or click 'quick 360p' for 360p video with best audiocopy the output and paste it into command line of linux if you have youtube-dl installedattached- executable- executable.zipsource code-video command maker source.zip

author: IanMacdonald
author_rank: Frequent Contributor
timestamp: March 26, 2018, 12:46:21 pm
content: Arrrgh, 'ere be just the thing to deal with the likes of you..

author: Ampera
author_rank: Super Contributor
timestamp: March 26, 2018, 12:52:37 pm
content: Technically, since YouTube is a video site upon which you stream (download) videos, capturing that stream and storing it isn't really doing anything want.YouTube isn't exactly happy that you can do that, largely because they want to sell you that nice feature on YouTube Red, and downloading MP3s (or M4As for the civilized among us) full of YouTube music is something that almost everybody has done.I mean, you are downloading the content to begin with. It's being stored locally, but then deleted shortly after. You're just not getting rid of the information after you receive it, similar to how TV recording works. Recording something you can be sent instantaneously (or near instantaneously) is not illegal with my (unprofessional) knowledge, and in my nation, as far as I know.What I normally do for downloading YouTube videos is just go to a random YouTube downloader site off Google, and try it. If it doesn't work, onto the next one.

author: aveekbh
author_rank: Regular Contributor
timestamp: March 26, 2018, 01:31:01 pm
content: For youtube-dl, one also needs ffmpeg to merge the audio and video (they are separate streams for HD). Also, it's possible to select the best quality for a given vertical resolution.Code:-f bestvideo[height<=?1080]+bestaudio/best

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 03:33:56 pm
content: Quote from: aveekbh on March 26, 2018, 01:31:01 pmMy program allows that...1-check 'custom wrapper' check box2-write 'youtube-dl -f bestvideo[height<=?1080]+bestaudio/best "https://www.youtube.com/watch?v="'in the start of wrapper text box3-write '";in the end of wrapper text box4- click generate custom wrapper and vola...then paste the output in linux terminal

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 03:36:37 pm
content: Quote from: TwoOfFive on March 26, 2018, 12:52:37 pmTo be honest..I made this tool cause I download 500+ videos where I get fast and free internet and then I watch it one by one offlinenow try pasting that many links into a download website.I know this is borderline illegal but not illegal though

author: BrianHG
author_rank: Super Contributor
timestamp: March 26, 2018, 03:40:53 pm
content: I used to just capture my system video desktop & audio & re-encode. I wonder if it still works. I wonder if it can even be prevented?

author: Monkeh
author_rank: Super Contributor
timestamp: March 26, 2018, 03:45:57 pm
content: Quote from: Raj on March 26, 2018, 03:33:56 pmSo how is this superior to just running the command? You uh, go through a long series of steps to extract information youtube-dl extracts for itself, click some buttons, then copy and paste the same command you could've just run in the first place?

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 03:55:58 pm
content: Quote from: Monkeh on March 26, 2018, 03:45:57 pmLike I said..Compared to copying 500+ links one by one. I let the playlist of videos that I want to see,get accumulated then I download them all in one go.Instead of copying links 500 times to a website,this is much simplerOh...I think you misunderstood the instructionsyou have to copy the while output (cltr+a then cltr+c) and then paste it into terminal and it does downloading automatically.I hope you know how to run multiple commands sequentially...this uses that method

author: Monkeh
author_rank: Super Contributor
timestamp: March 26, 2018, 03:56:40 pm
content: Quote from: Raj on March 26, 2018, 03:55:58 pmyoutube-dl understands playlists.

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 03:59:19 pm
content: try it.normally youtube dl can download small playlists onlywhen you have a large playlist like in my case,you have to use this method

author: Monkeh
author_rank: Super Contributor
timestamp: March 26, 2018, 04:01:14 pm
content: I'm afraid I don't have any unusably large playlists to try.

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 04:04:27 pm
content: Quote from: Monkeh on March 26, 2018, 04:01:14 pmI'm afraid I can't give you mine since that'll destroy my anonymitybut i'll google one for you

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 04:05:39 pm
content: here-https://www.youtube.com/playlist?list=PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaIDon't want to use my tool...no problem.If you want to use it or improve it,go ahead but let me know of the upgrades done to it

author: Ampera
author_rank: Super Contributor
timestamp: March 26, 2018, 04:17:32 pm
content: "borderline illegal"Something's either illegal or it's not. As an American, I believe I am within my rights to capture whatever traffic can be legally sent to me at any instant.

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 04:21:52 pm
content: it'll be illegal as soon as someone else gets hold of my downloads or if i attempt to reupload it somewhere or if I download songs.

author: Monkeh
author_rank: Super Contributor
timestamp: March 26, 2018, 04:28:31 pm
content: Quote from: Raj on March 26, 2018, 04:05:39 pm$ youtube-dlhttps://www.youtube.com/playlist?list=PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading webpage Downloading playlist: The Longest Mixtape - 1000 Songs For You[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #1[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #2[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #3[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #4[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #5[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #6[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #7[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #8[youtube:playlist] PL4lEESSgxM_5O81EvKCmBIm_JT5Q7JeaI: Downloading page #9[youtube:playlist] playlist The Longest Mixtape - 1000 Songs For You: Downloading 997 videos

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 04:50:09 pm
content: Good for you. Most of the times I get an error or it skips some videosPlus ever since I've made that applet,I don't have to refer to my notes each and every time I have to download videosI'll have to say, it's usefulness is subjective from person to person.It might be totally useless to you but it's very useful to meIt took less time for me to write the code than what it was taking me figuring out why the playlist download function wasn't working. Basically it's a noob's way out of a headache

author: rdl
author_rank: Super Contributor
timestamp: March 26, 2018, 05:20:19 pm
content: I have a hard time understanding what could be illegal about downloading youtube videos when I can watch it for free by streaming. After all, youtube doesn't create anything. Pretty much all their content is provided free by their users. If I find something on youtube I want to keep in case they go away in the future, then I'll download a copy.

author: Raj
author_rank: Frequent Contributor
timestamp: March 26, 2018, 05:26:19 pm
content: I know, laws are stupid to engineersDownload and keeping them is ok but sharing is not

author: Ampera
author_rank: Super Contributor
timestamp: March 26, 2018, 06:52:31 pm
content: It's the same deal with recording TV shows. You can't knowingly give someone a copy of your taped TV show. I wonder if you could give them your only copy though....Despite pondering at now useless real life applications of something that would never be caught anyways (giving a physical tape of a TV show to someone) I used to do this regularly when internet wasn't reliable or I had to go away somewhere without it. Full YouTube catalogue of all my favourites right on an external hard drive!

author: HighVoltage
author_rank: Super Contributor
timestamp: March 26, 2018, 07:02:46 pm
content: Why not using a tool like IDM (Internet Download Manager) that even gives you the option on resolution to download?It has always worked for me.

author: RoGeorge
author_rank: Super Contributor
timestamp: March 26, 2018, 07:09:03 pm
content: Quote from: TwoOfFive on March 26, 2018, 04:17:32 pmWell, it's illegal then, American or not.YouTube license is pretty clear with that: no download allowed (unless YouTube offers you a download feature for the specified video). Also, no add blocker allowed.

author: Monkeh
author_rank: Super Contributor
timestamp: March 26, 2018, 07:22:18 pm
content: Quote from: Raj on March 26, 2018, 04:50:09 pm--ignore-errors - removed or region locked videos won't work any better doing them one by one..Quote from: HighVoltage on March 26, 2018, 07:02:46 pmWhy not using a tool like youtube-dl that even gives you the option on resolution to download?It has always worked for me.

author: rdl
author_rank: Super Contributor
timestamp: March 26, 2018, 08:06:20 pm
content: Quote from: RoGeorge on March 26, 2018, 07:09:03 pmWhere exactly is that? I gave a quick look at their "Terms" but didn't see downloading or ad blockers specifically mentioned.edit: I found the "no downloading" part (good luck with that youtube), but I'm still looking for "no ad blockers".

author: Ampera
author_rank: Super Contributor
timestamp: March 26, 2018, 08:08:32 pm
content: Quote from: RoGeorge on March 26, 2018, 07:09:03 pmAs stated, I'm not a lawyer and work off what I know, but I believe you may be confusing a civil agreement and the breaking of a law.Licenses list terms of service, upon the breach of which (unless it is a signed, notarized document detailing the civil promises made to a body, upon the breach of which no law has been broken, yet you have violated a civil agreement and can be sued and be required to pay damages or, if applicable, submit to some other criteria) all YouTube can really do is deny you access to their services, unless you have also committed some other crime against them.The capturing and keeping of packets legally sent to you for personal use I do not believe is illegal in the same way capturing and keeping television (formerly signals now digital data) content for personal use. It's the reason, as I said, to my knowledge, you can tape a radio station and use the recording for your own personal uses (defining personal uses as, consuming the content again without redistribution).Terms of services are written as legal documents, but their effect as contracts is dubious at best and completely worthless at worst. They are intended to set terms they intend you to follow for continued use of their services (hence why it's called terms of service) and often include details on liability of said services, for example as a way to absolve their liability should you do anything illegal on their sites, so long as they actively seek to remove that content.Again, this is the US law as I know it. You're from Romania, so the laws and extent of unsigned, and often unread civil agreements may be different, but there's a VERY important distinction between civil and criminal courts, and just because YouTube tells you not to download their videos, doesn't mean is a law nor legally binding in any way. They can tell you not to breathe too, but that's not likely to stand up in any court either.

author: RoGeorge
author_rank: Super Contributor
timestamp: March 26, 2018, 08:50:42 pm
content: Thank you for pointing out the differences between something being illegal and the terms of service infringement, I didn't know that. It seems that I was wrong calling that illegal.

author: TerraHertz
author_rank: Super Contributor
timestamp: March 28, 2018, 09:57:42 am
content: Till recently I had been using keepvid.com. An online downloader which worked very well, usually amazingly fast.Then a few days ago keepvid got copyright-Borged. The site is suddenly just some bizarre exhortation to not violate copyright, and why you should obey youtube terms of service. Apparently written by mentally ill robots. Article about that:https://betanews.com/2018/03/21/youtube-download-site-keepvid-dead/"Popular YouTube download site KeepVid no longer allows downloads -- educates against copyright theft."Personally, I think it has little to do with copyright; more to do with Alphabet/Youtube/FB/Twitter wanting to stop people downloading and passing around videos which the censors would rather disappeared completely and forever, the instant youtube deletes them. Samizdat video sharing makes it harder to control the narrative. I can think of some notable recent instances.A quick look around turned up a few alternatives, and I first triedhttp://jdownloader.orgIt's an installable. Works with a very large number of streaming sources and web sites. So far I'm impressed. Also I notice it doesn't have any trouble downloading videos that youtube refused to allow to download via keepvid. It gets rapidly updated to deal with streaming site attempts to kill it. First use isn't so intuitive, just look for youtube videos on how to install & run it. Ironic.Other names that turned up, that I haven't tried:* Free Mp3 Finder* XDM - an alternative to IDM and is open source.* aTube Catcher Youtube only* Any Audio Converterhttp://www.any-audio-converter.com/any-audio-converter.php* Any Video Conterterhttp://www.any-video-converter.com/products-freeware/* y2mate.com (online, no install)* youtube-dl.http://rg3.github.io/youtube-dl/Open-source Python utility, runs on the command line (no fancy GUI) and does everything you'd expect it to do, including downloading YouTube metadata (upload date, description, etc.) as an auxiliary JSON file.

author: Ampera
author_rank: Super Contributor
timestamp: March 28, 2018, 11:47:28 am
content: Something I recently found out VLC could do (It's a jack of all trades innit?)To download a YouTube video with it, just load the YouTube video as a stream (File>Open Network Stream). You just need to put the link in that dialog.Next go to Tools>Codec Information and copy the link in the location box into any web browser. That's the direct link to the video, and it will either save it, or in the case of my browser (Chrome) you can right click and save video as just like you would do an image.

author: RoGeorge
author_rank: Super Contributor
timestamp: March 28, 2018, 03:11:56 pm
content: A downloader is very useful, thank you Raj.Censorship and privacy are not the only concerns. "Data rot"-like problems are also real, even if it shouldn't be.Look what may happen to your video if you let it on youtube for too long:That was a fluid, crystal sharp video that I added to my favorites list in the year 2006. I am absolutely sure the quality was very good, and it is the same link.Now, the same video has an un-watcheable quality.For occasional use, y2mate.com worth mentioning. No install or subscription required, similar with what keepvid used to be before it was killed.

author: mdijkens
author_rank: Regular Contributor
timestamp: March 28, 2018, 04:17:14 pm
content: I downloaded youtube-dl-gui for Windows Portable and just run ityoutube-dl-gui at GithubTo test playlists I downloaded this one during the night:Code:https://www.youtube.com/watch?v=AUwbtG6z6pI&list=PL5Qevr-CpW_yZZjYspehnFc-QRKQMCKHB]EEVblog complete playlistSo now I have all 1089 EEVblog episodes locally

author: Ampera
author_rank: Super Contributor
timestamp: March 28, 2018, 04:46:52 pm
content: Now THAT looks useful.

author: Raj
author_rank: Frequent Contributor
timestamp: March 29, 2018, 06:35:19 am
content: That looks quite handy

author: Halcyon
author_rank: Unknown
timestamp: December 13, 2022, 06:24:56 am
content: Quote from: Raj on March 26, 2018, 04:21:52 pmThat depends on the country. in Australia, mere downloading of content (regardless of copyright) is not illegal. Also, good luck enforcing DMCA here, it's not a thing. We have our own Copyright Act which governs what we do.Uploading or otherwise distributing copyrighted material without permission however is against the Copyright Act (however it's a civil offence).For the purposes of this thread and for others who choose to download content from the internet for their own use, have at it, but know your local laws.I personally download Youtuber's videos for my own consumption because I've been caught out by legitimate content being removed, edited or made unavailable in the past for silly reasons. I'm of the firm belief that if I pay for a copy of a movie, or content is made available freely for consumption, then I should be able to watch that content on any of my devices, at any time, without restrictions.

author: eti
author_rank: Super Contributor
timestamp: December 13, 2022, 07:52:00 am
content: “yt-dlp” is a superior version of “youtube-dl”. I forget the specific reason I downloaded and started using it about a year and a half ago, suffice to say it was much better at whatever I was doing.

author: Halcyon
author_rank: Unknown
timestamp: December 13, 2022, 07:53:49 am
content: Quote from: eti on December 13, 2022, 07:52:00 amIt doesn't suffer from the speed issues that youtube-dl seems to suffer from whenever YouTube decides to break it's support. Last time I checked, youtube-dl would only download at 70KB/sec for me.I also found that yt-dlp supports more content providers.

author: wilfred
author_rank: Super Contributor
timestamp: December 13, 2022, 08:53:48 am
content: I just downloaded yt-dlp and it solved the slow download speeds I had been getting for a while (year?) with Youtube-dl. I was getting ~50kb/s. The test I just did was at my full internet speed.I've used youtube-dl for quite a few years now I recommend it and now will consider recommending yt-dlp. I've only ever used the command-line. Some podcasts that don't normally provide an mp3 download are made available on yt and with youtube-dl I download them and extract the audio. you need to have ffmpeg available for the extraction though.

author: magic
author_rank: Super Contributor
timestamp: December 13, 2022, 10:12:55 am
content: You don't.With youtube-dl, get familiar with the -F / -f flags, other downloaders may have similar functionality.Lets you choose which stream(s) to download, and there are many alternative streams available: some audio only, some video only, some combined, different formats, quality and so on.You can even download MP4 video and Vorbis audio and combine them in MKV if that's what you want, although then you will need ffmpeg for the merge.MP3 generally is not available on YouTube, but on most videos you can choose M4A (AAC), Vorbis or Speex. They are all better codecs and hopefully you have something that can play at least a few of them.

author: AndyBeez
author_rank: Frequent Contributor
timestamp: December 13, 2022, 11:58:25 am
content: On the legality side, I think what you guys are discussing is under the heading of "fair usage". I was reminded to think of a famous case that defined the status of the home video recorder. In 1984, Universal Studios argued that the act oftimeshiftingtelevision programmes on Sony's new fangledBetamaxvideo recorder was a breach of copyright... Instead:QuoteWind on 40 years and the notion offair usageseems to still apply to any content that is 'time-shifted' to be viewed on any device at a later date - provided downloading is for non-profit and non-commercial use. Although the lawyers might want to beat each other up when it comes to format shifting (FFMPEG) ripped content to view on other 'unsupported' devices and, place shifting ripped content off of local hard drives to iCloud, for example.WithYoutube-dl, provided it is intended as a means of time shifting content on the Youtube platform, it should fall inside the notion of fair usage as defined four decades ago in the Betamax Case.

author: Halcyon
author_rank: Unknown
timestamp: December 13, 2022, 10:22:33 pm
content: Quote from: AndyBeez on December 13, 2022, 11:58:25 amPretty much, although there are always nuances to consider whenever you're dealing with these kind of laws and of course it takes a while for laws to catch up with technology. But this is also why no one has been found guilty of simply downloading video from the internet in Australia.However once you cross the line into unauthorised access, downloading ofillegalmaterial, or sharing/distributing, that's a whole other game.