Before asking, I would like to clarify, youtube-dl is not available to me as I'm on shared web hosting. Is there any way to download a Youtube video using PHP WITHOUT youtube-dl?
JackticalNuke
0
Newbie Poster
Recommended Answers
Jump to PostYes you can use curl to do this. If it is a very large video then you will probably have to increase memory on your PHP installation or you can crash the server
if your php locks and can't close the connection. Being on shared hosting I would not attempt …
Jump to PostI wrote a simple class that can tap the youtube API for the audio extraction and then covert to MP3. It is using cURL.
Unfurtunately, I cannot share that script because it violates the section
All 7 Replies
Banderson
29
Junior Poster in Training
veedeoo
474
Junior Poster
Featured Poster
JackticalNuke
0
Newbie Poster
veedeoo
474
Junior Poster
Featured Poster
JackticalNuke
0
Newbie Poster
jakineog
0
Newbie Poster
tiểu
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.