npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

loom-dl

v1.0.7

Published

Loom Video Downloader is a simple Node.js command-line tool to download videos from loom.com. It retrieves the video download link based on the video ID in the URL and saves the video with a specified filename or, by default, the video ID.

Downloads

40

Readme


Loom Video Downloader

Loom Video Downloader is a simple Node.js command-line tool to download videos from loom.com. It retrieves the video download link based on the video ID in the URL and saves the video with a specified filename, a prefix for multiple files, or by default, the video ID.

Getting Started

To run this tool, you need to have Node.js and npm installed on your machine.

Installation

  1. Clone the repo: git clone https://github.com/EcomGraduates/loom-downloader.git
  2. Install NPM packages: npm install

Dependencies

This tool uses the following npm packages:

  • axios - Promise based HTTP client for the browser and Node.js.
  • fs - File system module that allows you to work with the file system on your computer.
  • https - HTTPS is the HTTP protocol over TLS/SSL.
  • yargs - Yargs helps you build interactive command line tools, by parsing arguments and generating an elegant user interface.

Usage

Download a Single Video

To download a single video from loom.com, run the following command, replacing [VideoId] with the actual video ID from the URL:

node loom-dl.js --url https://www.loom.com/share/[VideoId]

This will download the video and save it as [VideoId].mp4.

You can specify a different output filename with the --out or -o option:

node loom-dl.js --url https://www.loom.com/share/[VideoId] --out [FileName].mp4 or node loom-dl.js --url https://www.loom.com/share/[VideoId] --out path/to/[FileName].mp4

This will download the video and save it as [FileName].mp4.

Download Multiple Videos

To download multiple videos listed in a text file, use the --list option. Create a text file with one video URL per line and pass the file path to the script:

node loom-dl.js --list path/to/urls.txt

By default, each video will be saved with its video ID as the filename.

You can specify a filename prefix with the --prefix option. The script will append an auto-incrementing number to each downloaded video:

node loom-dl.js --list path/to/urls.txt --prefix download --out path/to/output

This will save the videos with the specified prefix "download" and an incremented number in the given output directory. download-1.mp4 download-2.mp4 If no output path is specified it will default to Downloads folder

Avoid rate limiting

To prevent getting firewalled or rate-limited, a timeout can be set between downloads using the --timeout option:

node loom-dl.js --list path/to/urls.txt --prefix download --out path/to/output --timeout 5000

This will add a 5-second wait time between each download. adjust as needed.

installing via NPM

run npm install loom-dl in terminal

npm i loom-dl

use command loom-dl

follow the same commands as above but replace node loom-dl.js with loom-dl

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Contributors

-werkamsus for add resume functionality

License

This project is open source and available under the MIT License.