limikael / mediadownloader

Library for downloading media from various sites
0 stars 0 forks source link

error on web server #1

Open ksrichard opened 10 years ago

ksrichard commented 10 years ago

hi! Your classes worked fine for me on my localhost but if I upload to my webserver I got this error:

Error

Whoops something went wrong. If this problem persists, send us an e-mail:

Fatal error: Uncaught exception 'Exception' with message 'Unable to initiate downlaod at this point.' in /chroot/home/tubemixc/tube-mix.com/html/dl/src/downloaders/YoutubeMp3OrgDownloader.php:175 Stack trace: #0 /chroot/home/tubemixc/tube-mix.com/html/dl/src/base/Media.php(43): YoutubeMp3OrgDownloader->download(Object(Media), 'tmp/ksmTdsVq44w...') #1 /chroot/home/tubemixc/tube-mix.com/html/dl/index.php(21): Media->download('tmp/ksmTdsVq44w...') #2 {main} thrown in /chroot/home/tubemixc/tube-mix.com/html/dl/src/downloaders/YoutubeMp3OrgDownloader.php on line 175

limikael commented 10 years ago

Hi K.S.,

This is a bit of a hack, what the classes do is not really download from youtube at all, they use http://www.youtube-mp3.org/

The idea was to create a library to be able to download media from various sites, and youtube was the first. I had a version working a year ago or so, but then youtube changed something and I used youtube-mp3.org as a replacement until I found out how to do it for real these days.

The plan is still to create a library that can download "any kind of media from any kind of site", but it is more a plan (maybe even "dream") rather than something that is useable.

But if I get the project going I will tell you, and maybe you would be interested in participating?

Regards,

Mikael

On Wed, Oct 30, 2013 at 11:28 AM, K.S.Richard notifications@github.comwrote:

hi! Your classes worked fine for me on my localhost but if I upload to my webserver I got this error:

Error

Whoops something went wrong. If this problem persists, send us an e-mail:

Fatal error: Uncaught exception 'Exception' with message 'Unable to initiate downlaod at this point.' in /chroot/home/tubemixc/ tube-mix.com/html/dl/src/downloaders/YoutubeMp3OrgDownloader.php:175Stack trace: #0 /chroot/home/tubemixc/ tube-mix.com/html/dl/src/base/Media.php(43): YoutubeMp3OrgDownloader->download(Object(Media), 'tmp/ksmTdsVq44w...') #1https://github.com/limikael/mediadownloader/issues/1/chroot/home/tubemixc/ tube-mix.com/html/dl/index.php(21): Media->download('tmp/ksmTdsVq44w...')

2 {main} thrown in /chroot/home/tubemixc/

tube-mix.com/html/dl/src/downloaders/YoutubeMp3OrgDownloader.php on line 175

— Reply to this email directly or view it on GitHubhttps://github.com/limikael/mediadownloader/issues/1 .

ksrichard commented 10 years ago

Im interested in this and I have a solution right now for this... Not needed any space on the net and the user can download videos from youtube and any other sites ;)) if you are interested in PM me :D

limikael commented 10 years ago

I'm certainly interested! Tell me more! :)

Btw, I fixed my YouTube downloader so now it works for YouTube at least. At least most videos, I have also come across some that doesn't work...

But yes, I'm really interested in the software you have! Would be awesome! :)