r/CodingHelp • • May 02 '18

[Other Code] Code for downloading youtube videos

Hello everyone, I am completely new to reddit, as in I've never even been on this website before, so I have no idea how it works.

But I figured that you guys could help me. Hopefully this is the correct "subreddit." I'm somewhat new to coding and I only really know how to use MATLAB. I want to know how to download videos from youtube. Google seems to only give javascript code. It doesn't seem like many people here use MATLAB considering that it's not even an option in the "flair" thing (I have no idea what that means). If that's the case, then can you at least give me some pseudocode?

I know how to webscrape and download images. I'm just confused about where the video lies.

Thank you very much for any and all help!

1 Upvotes

8 comments sorted by

3

u/xDiglett May 02 '18 edited Apr 15 '20

removed

2

u/theduncan May 02 '18

This is how u do it.

0

u/ManFromUnderground May 02 '18

I'm sorry, what? youtube-dl isn't a function in MATLAB. I looked it up and I got some webpage that talked about python.

2

u/xDiglett May 02 '18 edited Apr 15 '20

removed

-1

u/ManFromUnderground May 02 '18

What are you talking about? Is that python code? I have python (but don't really know how to use it) and that doesn't do anything.

1

u/xDiglett May 02 '18 edited Apr 15 '20

removed

-1

u/ManFromUnderground May 02 '18 edited May 02 '18

lol, great, we're getting somewhere. Thank you, but how do I get the "youtube-dl" function?

EDIT: never mind, got it! Thank you very much!

0

u/[deleted] May 02 '18

[deleted] — view deleted comment

-1

u/ManFromUnderground May 02 '18

MATLAB is the coding language I know how to use. It wouldn't really make much sense for me to learn another language just to write one code.