jaimeMF / youtube-dl-api-server

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

added script to help updating youtube-dl for gae #37

Closed Ale46 closed 9 years ago

Ale46 commented 9 years ago

I wrote this simple bash script as an helper to update youtube-dl library, in gae based installation.

./devscripts/gae-update-youtube-dl.sh

will download last youtube-dl release from github, unzip and patch imports. I was thinking that, maybe, will be useful for someone.

Regards

jaimeMF commented 9 years ago

./devscripts/setup-gae.sh` fetches the last version from pypi, doesn't it work for you?

Ale46 commented 9 years ago

Yes, it works but with two little issues. Sometimes it re-fetches all the dependecies (this can be my fault, not really inspected the problem), also if you need to update only youtube-dl. Other times the youtube-dl is not at the very last release and with extractor that are updated quite often I prefer to refer directly to github repository and not to pypi.

jaimeMF commented 9 years ago

Actually all you need to do is replace the line with youtube-dl in the requirement file with:

https://github.com/rg3/youtube-dl/archive/master.zip#egg=youtube_dl

And ./devscripts/setup-gae.sh will fetch and install the last version.

Since that should work, I'm closing the PR. Thank you anyway for you contribution and feel free to ask if it doesn't work for you.