RipMeApp / ripme

Downloads albums in bulk
MIT License
3.72k stars 631 forks source link

Download videos from youtube #675

Open BBloggsbott opened 6 years ago

BBloggsbott commented 6 years ago

Found an API to download videos from youtube. Can get it done easily.

ghost commented 6 years ago

How is it compared to the powerhouse youtube-dl?

BBloggsbott commented 6 years ago

youtube-dl requires it to be installed in the system, and I think it is available only for linux system.

Hrxn commented 6 years ago

youtube-dl is cross-platform and does not need to be installed in any way.

BBloggsbott commented 6 years ago

youtube-dl requires a python interpreter. All the users of Ripme need not have python installed. The API mentioned above, is built using Java.

rautamiekka commented 6 years ago

Yeah, it's true youtube-dl's doc makes it sound like only for Linux, but there's not much difference when run on Window$: use double quotes around each URLs for safety (Linux shells are less strict about them, but you should use single quotes anyway), and if you use a BAT script, which you should, you need to double up percentage signs.

Licensing wouldn't be a problem if RipMe would port code from youtube-dl since both are MIT, and YouTube doesn't change all that often, but you might not wanna sorta re-invent the wheel even that way. Additionally, youtube-dl uses features RipMe doesn't have, so if it's even possible, it'll be extra porting ahead to make it work equally.

kevin51jiang commented 6 years ago

We have talked in the past about making a wrapper for YouTube dl since that will accommodate for any changes YouTube makes, and that's still a possibility if you want to do it.

However, since YouTube dl still exists and works wonderfully on its own, we have put that rather low on the priority scale.

BBloggsbott commented 6 years ago

Yeah, but having everything in one application will be better right?

cyian-1756 commented 6 years ago

Yeah, but having everything in one application will be better right?

Not really. We'd end up redoing a bunch of work that the guys over at youtube-dl and end up with something that supports way fewer sites (Because we don't have the man power to support the same number of sites as youtube-dl)

We could try embedding youtube-dl and running it with jython, but jython doesn't look like it'll be getting support for python3 anytime soon and python2 is end of life