Git Product home page Git Product logo

Comments (6)

fent avatar fent commented on May 29, 2024

How did you install it? Did you use npm or git cloned? Did the youtube-dl executable get downloaded in the bin folder? Do the tests pass?

from node-youtube-dl.

MakuraYami avatar MakuraYami commented on May 29, 2024

I used npm isntall youtube-dl, I'm running it in windows 7.
it installed the module in my /app_dir/node_modules/youtube-dl/

Doing only the require does not trigger the error yet, its the .download function

Thank for your fast reply by the way 👍 I hope we can solve this

Edit: and yes, "youtube-dl" is in the /bin/ folder.

from node-youtube-dl.

fent avatar fent commented on May 29, 2024

Hmm Windows 7. I haven't tested this on Windows since at the moment I don't have access to it. The way this works is it downloads the youtube-dl program from here. But currently it downloads the unix script, not sure if this is executable on Windows. In the future I might update it so it downloads the exe if installed on Windows.

If you are planning on using this to download only from Youtube, take a look at ytdl, which uses only Javascript and should work on all platforms.

from node-youtube-dl.

MakuraYami avatar MakuraYami commented on May 29, 2024

By browing your profile I actually found that one and i just recieved my first file on it, Looks good, less options though, I think.

Thanks for awnsering my questions :)

Sorry for going off-topic here but do you know the simplest way to convert a part of the downloaded video to a gif in nodejs? I'm going to try ffmpeg but I dont think it supports quite what I'm looking for.

from node-youtube-dl.

fent avatar fent commented on May 29, 2024

No problem. :)

I was trying to do something similar to that 2 years ago, which was the reason for creating this module. Not sure if ffmpeg can convert to gif, I know it can export part of a video to a sequence of images. You can then use either imagemagick or gifsicle to turn it into a gif.

from node-youtube-dl.

MakuraYami avatar MakuraYami commented on May 29, 2024

Yeah that's what I had in mind. Thanks!

from node-youtube-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.