jaimeMF / youtube-dl-api-server

A youtube-dl REST API server
https://youtube-dl-api-server.readthedocs.org/
The Unlicense
364 stars 214 forks source link

Update #5

Closed Elite closed 11 years ago

Elite commented 11 years ago

What files are needed to be replaced and where for using latest version of youtube-dl, also can we just copy-paste them here or does it need to be modified for use with this ?

Elite commented 11 years ago

Also, I cloned the project but it error's out - http://ytube-api.appspot.com/api/?url=http://www.youtube.com/watch?v=NBw5Gdmb1Pg

jaimeMF commented 11 years ago

I have added an script for setting up the needed modules for deploying in GAE, running ./devscripts/setup-gae.py on the source root will download youtube-dl and paste. Then you just need to deploy it to GAE.

If you still find the error once you have used the script, just comment there and I'll try to help (also post the logs)

I have deploy to GAE with the latest version of youtube-dl, in case you want to use it.

Elite commented 11 years ago

Thanks will check and get back :)

donnguyen commented 10 years ago

Hmm, latest version of youtube-dl (2013-11-13) doesn't seem to work on GAE anymore. It requires fcntl module to run but fcntl is a c module and you know, GAE doesn't support fcntl. Are there any chances to get it works again on GAE? Thank you!

jaimeMF commented 10 years ago

@donnguyen it shoudl work now, do a fresh clone and run ./devscripts/setup-gae.sh, it will patch youtube_dl to not import the module. If you find any problem, please open a new issue. Thanks for the report!

donnguyen commented 10 years ago

It's working fine now, thanks for your quick fix! :)