npm i get-bonus
# or yarn
yarn add get-bonus
# or pnpm
pnpm i get-bonus
import { Scraper, Melonbooks, Animate, Mangaoh, Comiczin, Gamers, Toranoana } from 'get-bonus'
const providers = [
new Melonbooks(),
new Animate(),
new Toranoana(),
new Gamers(),
new Mangaoh(),
new Comiczin()
]
const scraper = new Scraper(...providers)
const searchResult = await scraper.search(`...`)
const details = await scraper.getAllDetails(searchResult)
本程序附带 MIT License 开源。使用本程序及其源代码时,请遵守 MIT License。
This program comes with the MIT License.