J
J
Jasur00902020-02-20 04:53:14
YouTube
Jasur0090, 2020-02-20 04:53:14

How to download youtube video in php?

You need to download a video from youtube via a link to the host server. How to do it? Git scripts don't work (jeckman/YouTube-Downloader).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2020-02-20
@xmoonlight

If nothing works from opensource (which is rather unexpected!), what remains is a complete emulation of the browser running as a service that can be accessed from PHP using some interface (Selenium and the like).

M
Mikhail, 2020-02-27
@VK_31

Last year I used this library
https://github.com/jeckman/YouTube-Downloader
Very easy to use, but the support is a little behind the development of youtube. At one time I didn’t download some videos, now I don’t know how things are.
Then I transferred the script to this utility
https://github.com/ytdl-org/youtube-dl
It downloads everything and always, excellent support, there is a version for Windows and Linux. The only negative is that this is still a utility and you need to write a wrapper

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question