Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

baha-anime-dl-ext

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baha-anime-dl-ext

This tool is used to download low quality Anime from Bahamut.

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Bahamut Anime Downloader Extensions

This package contains useful functions for Bahamut Anime Downloader.

Features

  • build: unlike the original build function, you can craft a new fetch function with your own options, including custom headers, cookies, and cache.
  • merge: the merge function accepts a Download object that returned from Downloader.download method, it automatically waits and merges the downloaded files into a single mp4 file. (This will not work if ffmpeg or file system is not supported)

Example

import { Downloader, default_config } from "baha-anime-dl";
import { build, merge } from "baha-anime-dl-ext";
import fs from "node:fs";

main();

async function main() {
    const config = {
        ...default_config(),
        fetcher: build({
            headers: {
                "User-Agent": "Mozilla/5.0 Custom User Agent",
            },
        }),
    };

    const downloader = new Downloader(config);

    const download = downloader.download(34886);
    const merged = await merge(download);
    fs.writeFileSync("output.mp4", Buffer.from(merged));
}

FAQs

Package last updated on 27 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc