![]() |
is it possible to use php to extract a youtube video?
I am wondering if it is possible to use a very short php script to download the flv of a youtube video straight to my server. Just want to do one video, so I can hardcode the youtube url in the short script, doesn't have to be any fancy interface or anything
anyone have any ideas on this? |
do you have access to the shell?
theirs a good python script called youtube_dl |
Use Firefox, right click, view page info, click on media and then click on the swf file and save
|
Quote:
here is youtube_dl in action Code:
[chris@jumbo ~]$ youtube-dl https://youtube.com/watch?v=SbasOIcGjqs |
Sites like clipnabber.com require you to paste the source code in... Makes me believe there must be an easy formula to pull the mp4 url from the code.
|
Quote:
Put it on your desktop, upload to your server, nothing complicated |
Quote:
no shell access hoping to figure out a way to do it with php |
Quote:
|
Quote:
Code:
<?php |
Try scraping the youtube URL for the appropriate data and dropping it into this URL structure, then downloading. http://www.ehow.com/how_4685059_youtube-mp-video.html
|
Where's all the heros bitching about stealing content? lol @ this thread
|
5+ years ago this woulda be a 6 page thread of shit flinging :1orglaugh
|
Quote:
|
Quote:
and :1orglaugh :1orglaugh :1orglaugh some more! ... but it's ok, I clicked this thread to learn too! thanks everyone. |
Quote:
I'm playing with it but still getting 500 errors, is there something I am missing if trying to run the above as it is? and I'm not doing this to "steal" any content for those that voiced concern :1orglaugh |
All times are GMT -7. The time now is 04:32 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123