Git Product home page Git Product logo

amagi's Introduction

amagi(泥干嘛哈哈

  • 抖音、B站的 web 端相关数据接口基于 Node.js 的实现,支持最低node版本为 v16

amagi

使用

pnpm add @ikenxuan/amagi

快速上手

直接获取相关数据

import { GetDouyinData, GetBilibiliData  } from '@ikenxuan/amagi'

const douyinck = '你的抖音ck'
const bilibilick = '你的B站ck'

const Douyin = await GetDouyinData('单个视频作品数据', douyinck, { url: 'https://v.douyin.com/irHntHL7' })

const Bilibili = await GetBilibiliData('单个视频作品数据', bilibilick, { url: 'https://b23.tv/9JvEHhJ' })

使用以下方法可以将 amagi 的内部 API 暴露出来,提供外部调用

import amagi, { StartClient } from '@ikenxuan/amagi'

const Client = await new amagi({
  douyin: '抖音ck',
  bilibili: 'B站ck'
}).initServer(true) // 是否开启调试模式

// 启动监听 4567 端口,端口可自定义
await StartClient(Client.Instance, 4567)

开发构建

开发环境下,支持最低node版本为 v18

  • 安装依赖
pnpm install
  • 构建
pnpm build

License

GPL-3.0

声明

本库没有后门,本库不会上传有关你的任何信息到第三方。 所配置的ck只会用于请求官方API接口

该项目代码从 kkkkkk-10086 提取修改并发布

未经同意,禁止将本项目的开源代码用于任何商业目的。因使用本项目产生的一切问题与后果由使用者自行承担,项目开发者不承担任何责任

amagi's People

Contributors

ikenxuan avatar github-actions[bot] avatar oducko avatar

Stargazers

 avatar

Watchers

 avatar

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.