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

video-no-watermark

v1.0.0

Published

仅支持部分平台去水印

Downloads

11

Readme

短视频无水印下载——获取视频资源

该包是一个利用短视频短链接分享,对链接视频资源进行获取,从而获取视频资源数据

当前仅支撑抖音平台、快手平台....

video-no-watermark 包的使用手册

1、安装 video-no-watermark

npm install video-no-watermark --dev-save

2、引入 video-no-watermark 包

const noWatermark = require('video-no-watermark')

3、传入两个形参值,第一个为平台拼音,第二个为视频分享短链接

const nowatermarkvideo = noWatermark('douyin','https://v.douyin.com/DFk8ooQ/')

4、调用实例下的play(),由于该方法使用promise进行封装,在调用过程中请使用链式调用或async await

nowatermarkvideo.play().then(res=>console.log(res))

-----------------------------------------------------

(async function(){

const result = await nowatermarkvideo.play()

console.log(result)

})();

其返回一个对象数据,applyName 短视频平台名称拼音,videoAddress 原视频资源地址,videoSource 视频源数据

{ applyName: 'douyin', videoAddress: 'https://v26-web.douyinvod.com/ec4e8b4d018ae78a7d5e065007ecf984/643fbaf8/video/tos/cn/tos-cn-ve-15c001-alinc2/oo4pWEDIdAzxBfYeH3gVh7XCEz12QeR7Bj0AgP/?a=6383&ch=26&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=870&bt=870&cs=0&ds=3&ft=7yV4ZBo7UUmfAmdF_02D1YmAo6kItGMovsq9eFPGQfDr12nz&mime_type=video_mp4&qs=0&rc=aTs6O2dkZjQzOWU4ZTk5ZEBpamk7Ojk6ZmVkajMzNGkzM0AyNjNfNl4wX14xYF42Xl9eYSNycC1ycjQwbnFgLS1kLS9zcw%3D%3D&l=20230419165704E91D6F376F70131669EF&btag=8000', videoSource: <Buffer 00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00 69 73 6f 6d 69 73 6f 32 61 76 63 31 6d 70 34 31 00 00 2b a6 6d 6f 6f 76 00 00 00 6c 6d 76 68 64 00 00 ... 985514 more bytes> }

以上为使用方式......