this post was submitted on 03 Apr 2024
425 points (89.1% liked)

Programmer Humor

32601 readers
214 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 32 points 8 months ago* (last edited 8 months ago) (1 children)

That reminds me back when some time ago, I was tired of dealing with sketchy, and often broken, websites and programs for downloading videos from Youtube. I figured these sorts of programs must be doing something along the lines of downloading the Youtube page, parsing through the massive pile of HTML and Javascript to find the stream, and then saving that to a video file. That seemed like something I could do myself with Python, so I set out to see if I could figure out how to do it.

A few minutes and a couple of web searches later, I discovered that someone else had figured that all out already and I just needed to do "pip install pytube".

[–] [email protected] 35 points 8 months ago (2 children)

Have you ever heard about yt-dl?

[–] aBundleOfFerrets 14 points 8 months ago
[–] [email protected] 9 points 8 months ago

I did switch over to yt-dlp some time later as development seems to have slowed on Pytube and yt-dlp seems to be where all the activity is.