Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
baha-anime-dl
Advanced tools
Readme
Bahamut Anime Downloader is a library designed to fetch low-quality anime episodes from Bahamut Anime.
This package is used by baha-anime-skip internally, which adds "skip" buttons for anime openings and endings on the Bahamut Anime.
Simply provide the sn
(serial number) of the desired anime, and the tool will seamlessly:
Note: This tool stops short of merging the downloaded TS files into a single MP4 file. If you require this functionality, you can easily extend it with the
merge
function available in thebaha-anime-dl-ext
package.
The package is platform-agnostic. You can plug in any custom implementations for fetch
and subtle
as needed.
import fs from "node:fs";
import path from "node:path";
import { Downloader } from "baha-anime-dl";
const SN = 34886;
const dir = "tmp";
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir);
}
main();
async function main() {
const downloader = new Downloader();
const download = downloader.download(SN);
const meta = await download.meta;
fs.writeFileSync(path.join(dir, "meta.m3u8"), meta);
const playlist = await download.playlist;
fs.writeFileSync(path.join(dir, "playlist.m3u8"), playlist);
for (let i = 0; i < download.segments.length; i++) {
const segment = download.segments[i];
segment.content.then((content) => {
fs.writeFileSync(path.join(dir, segment.filename), Buffer.from(content));
});
}
}
baha-anime-dl-ext
for Mergingimport fs from "node:fs";
import { Downloader } from "baha-anime-dl";
import { merge } from "baha-anime-dl-ext";
const SN = 34886;
main();
async function main() {
const downloader = new Downloader();
const download = downloader.download(SN);
const mp4 = await merge(download);
fs.writeFileSync(`${SN}.mp4`, mp4);
}
My use case is for audio analysis, particularly to identify opening and ending songs in anime episodes. Here are some additional ideas:
Feel free to dive in and explore the potential of Bahamut Anime Downloader!
FAQs
This tool is used to download low quality Anime from Bahamut.
The npm package baha-anime-dl receives a total of 31 weekly downloads. As such, baha-anime-dl popularity was classified as not popular.
We found that baha-anime-dl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.