Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
makeworld
· 5y ago · 0 comments
Probably it's resolving the direct video (and/or audio) links and setting those as the source in the video tag. Like using the -g option for yt-dlp.
Comments
[–]
getcrunk
5y ago
Could u explain how that works or what to do?
[–]
makeworld
OP
5y ago
https://github.com/yt-dlp/yt-dlp
has reverse-engineered YouTube, and can take a video ID and figure out the direct video link. The --get-url, or -g option will return that URL.
[–]
sodality2
5y ago
Ah, interesting! I didn't think of that.