
A lot of people asked and requested a theme for the Youtube download script on my site , So here is an upgrade to it. This is a simple script which allows you to run a small site around it. Something like a keepvid clone.
Requirements –
- PHP 5
License –
- Creative Commons – Attribution 3.0 Unported (http://creativecommons.org/licenses/by/3.0/ )
- In one line , you have to link back to this site.

FAQ -
- I get “Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /membri/verdehouse/videopian.php on line 25″.
Please upgrade to php5 , or modify it to work with php4. - Warning : This script uses 2x bandwidth to download videos. So to download 40 MB Video it will use 80 MB bandwidth. Also this is CPU cycle intensive.
- Please use Java Applet Method if your site does more that 30 – 50 visitors daily


will these scripts work on a windows based web server?
Yes this should work fine.
How this script works?
this script is not working… when i type youtube url i get this : Could not find any download Links or Site not supported.
Same problem for me also..
cURL is also enabled…
Hi,
Parse error: parse error in C:\wamp\www\free\index.php on line 141
On L141 :
WTF ?
Ok, its ok
But don’t dl the video. Don’t work !!
Same issue with wamp
Don’t work since 23 november 2009 the script FreeDown Downloader
Works fine. Ive put a demo so that you guys can test.
Yes, Now works fine, the file curl.php are missing
Anytime i enter a url it comes back with a blank page and shows a trailing /? in the domain url. I have tried it on 2 different domains.
i have the same problem
It’s OK, I have sorted.
Please delete my last reply. (didn’t have all the php modules installed that were required)
Thanks.
THE SCRIPT STOPPED WORKING…..ANY HELP??? I SEE IT IS WORKING ON http://www.vid2pc.com/
hey these sites are not working veoh,vimeo,myspce,sevenload,revver,imeem and flickr with this script.
hey can you make a downloader which works with adult sites like pornhub,redtube,tube8,pornotube,xnxx,xvid,youporn
It’s work too good..but i want to add thumbail of video ,player & video information…..can you tell me how can i add in this script…….www.vid.pcrole.com
this is funny…niether of those works!
I think i can write a script after understanding CURL
any one to explain php downloader script?
if you don’t understand curl & don’t understand php scripts then you won’t be able to write your own’s script.
hi guys
can somebody help me please?
when i open the index.php on my apache server with php 5.2.8
there comes nothing. But when i delete files) && !empty($video->files)) {
?>
in the index.php its showing all but don’t working anymore.
The textbox shows $url)?$url:’Enter URL of Video Page …’;?>
so can somebody fix it or send me his working script to nataliezahn1@web.de
kiss Natalie
this script is not working
Works for some and not for others.
Here is the error – Any ideas???
Warning: file_get_contents(http://gdata.youtube.com/feeds/api/videos/OKW7m3kQLYs) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /home/.puli/ngcoders/vikaspatial.com/demos/freedown/videopian.php on line 666
Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’ in /home/.puli/ngcoders/vikaspatial.com/demos/freedown/videopian.php:666 Stack trace: #0 /home/.puli/ngcoders/vikaspatial.com/demos/freedown/videopian.php(666): SimpleXMLElement->__construct(”) #1 /home/.puli/ngcoders/vikaspatial.com/demos/freedown/index.php(36): Videopian::get(‘http://www.yout…’) #2 {main} thrown in /home/.puli/ngcoders/vikaspatial.com/demos/freedown/videopian.php on line 666
doesn’t works well for me
it always shows the message “Could not find any download Links or Site not supported.”
is there anything i miss? need your help, please…
http://tube.iceserve.com/
dear admin
i am getting this error
what should i do now
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/esms/public_html/vdodl/videopian.php on line 25
before i start i have to mention that i am a newbie… i was wondering if i am free to remove the footer?? as in the copyright..
No you have to link back.
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/admin/domains/site name here.net/public_html/you/videopian.php on line 2
It’s working really fine without a single prob …
u can also test at
http://whatsgoingon.07x.net/ut
Problem with function can any body help me?
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /membri/verdehouse/videopian.php on line 25
script is not working bro.
i have work, thx
http://viid.in <–youtube downloader with preview video and pic
Hello
when i try to dowlnload youtube video its saying me that , you have send lots of request and you are not able to download this video. youtube has block your ip address and etc. can you give me suggestion or updated videopain.php file , if you have ? or let me know what code i need to modify for that ?
script not working.Anyone pls help.Is it necessary to create a sql database and what are the files to be edited
will this script work on linux Server ???
working perfectly only in windows servers… but not in linux servers
Mine is hosted on Apache on linux.
Download link displays youtube link..But error log created in the folder with the script:
========
Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’
============
What is the reason for the error???? Nobody is responding or helping with error messages…Where is the original programmer??? Please help us… Thanx in adavance…
has been fixed update to latest.
Hi,
Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’
For the above error, a possible solution:
=====
enable or uncomment extension=php_openssl.dll in php.ini file
======
Not sure about it..Changed configuration and watching…
extension=php_openssl.dll in php.ini file is for windows servers and not for linux.
I too have the same issue on my linux server…
The issue is that on Line 662 of videopian.php
=
$xml = new SimpleXMLElement(file_get_contents($file_data));
======
$file_data is not a valid xml string. That is the issue..
I am not a PHP Programmer and I don’t know what to do???
Is the programmer available????????????????
Please help us….
If a video is not available or removed by uploader..this error occurs…There should be proper error catching mechanism in the script…It lacks proper error checking mechanisms to see what to do if url is not available,….
I have installed this script with linux server Centos 5 here
http://www.progarama.info/download/youtubenew/
only one problem which I had was curl inin() which was installed for my server. I have fixed it and it started to work.
excellent script thank you very much.
you can check in above link the script.
I have LAMP server.
help…
now this script not working
Fatal error: Maximum execution time of 30 seconds exceeded in /home/viidin1/public_html/videopian.php on line 721
$html = file_get_contents(self::$url);
can you help me??
Yeah, mine also suddenly stopped working. My host says that it’s maybe a change in the APIs. Please help, I’m getting the following error:
Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’ in /home/download/public_html/videopian.php:666 Stack trace: #0 /home/download/public_html/videopian.php(666): SimpleXMLElement->__construct(”) #1 /home/download/public_html/index.php(12): Videopian::get(‘http://www.yout…’) #2 {main} thrown in /home/download/public_html/videopian.php on line 666
CHI mi vuol mandare lo script funzionante?
perche quello che e disponibile non funziona.Grazie
erkaland@gmail.com
My issue is that it displays the download links but not always..Occasionally for hours the download links will not be displayed. I am not paasing Youtube url through Form _GET variable. I am passing the video $url directly to create download links.
Does youtube have any restrictions or limits on downloads ???? Like 2 MP4 files per hour….Is this issue due to this restriction???? How can we overcome this??? Or is it due to any other issue????
I request NGCoders admin to respond..Thanx in advance
any one can help me how to resolve this problem hehe thanks in advance
Firefox can’t find the file at http://v23.lscache6.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id,expire,ip,ipbits,itag,algorithm,burst,factor,oc:U0dVTVNQUF9FSkNNNV9LSlRB&fexp=900080&algorithm=throttle-factor&itag=18&ipbits=0&burst=40&sver=3&expire=1268352000&key=yt1&signature=AD1D6FA13A9A5975338E407500B5ABF7F04B4562.B637274FFF52909B9AC79DEDA323BC76235ECA38&factor=1.25&id=6d2c3097136ce988.
please download and update , ive fixed the issue.
is there an add on to download using this script in 3GP file??? thanks for super fast reply thanks ^_^
Just update the script again , Ive added 3GP and HD support !!!
what can i say to the admin of this site hai the admin is so cool….Astig tlg ^_^ salamat ur so kind…thanks!!!!! so much,….
I realize the script doesnt grab 18+ videos.
Hey nice script, I’ve been looking for an example like this, in order to build a method to catch urls from youtube through a search form with an option to save as (mp3) using ffmpeg commands in php.
I have created this script, its for sell. but it uses alot bandwidth. contact me at jimmyroguetech(at)gmail.com
I’m getting a error:
Parse error: syntax error, unexpected $end in C:\inetpub\wwwroot\freedown\index.php on line 149
Seems to imply a bracket that’s not closed or something, but I’m not finding it. Any help?
Never mind… didn’t see the short open tag… I adjusted that in the php.ini and its working well.
There’s a problem with youtube links i have this message Could not find any download Links or Site not supported. But with others websites like dailymotion everything is OK ^^ please help me
Same problem, Could not find any download Links or Site not supported.
Can someone help us please ?
It was working fine for me earlier today, but doesn’t appear to be now. I get a 403 Forbidden error. Anyone have any ideas?
So i guess this is not working anymore?
Everything is now fine
but it makes a file stream.php
You are supposed to right click and save as.
I see this with the new updated scripted from April 19th… “No Videos found or site not supported.”
So the script is not working?
Hi,
I am getting this error…
Parse error: parse error in C:\wamp\www\freedown\index.php on line 164
Any help would be appreciated…
Still doesn’t work for me
“blank page” when i’m clicking “download”
Hii i have tested this on two servers and on one its working just fine but on the other its not working…on the other server when i click download a list of video quality option shows up but when i click on save as download it downloads an html file…but on the other server its working just fine can you tell me whats the problem…and in both the server php is above version 5 and curl is also enabled on both the servers…