Giter Club home page Giter Club logo

douyinparse's Introduction

DouYinParse

简介

DouYinParse 是一个用PHP编写的解析抖音视频信息的库,用于短视频链接解析。你可以通过这个库轻松地获取抖音视频的各种元数据,包括作者、抖音ID、点赞数、评论数、收藏数、分享数、发布时间、视频标题、视频封面和无水印链接等。

安装

你可以通过Git将此库克隆到本地。

git clone https://github.com/PearNoDec/DouYinParse.git

或者下载ZIP压缩包并解压。

使用教程

注意事项

本项目自带Cookie值,如使用失效,请确保在 SendGetData 函数中添加自己的Cookie值。

Image text

示例用法(PearAPI站点)

这个库支持GET和POST协议进行请求,你可以传入短链接或者长链接。

https://api.pearktrue.cn/api/video/douyin/?url=https://v.douyin.com/iererwFh/

PearAPI还支持聚合万能短视频解析平台(皮皮虾,抖音,快手,哔哩哔哩,虎牙视频,懂车帝,火山,皮皮虾,皮皮搞笑,最左,小影,趣头条,微博,迅雷,美图秀秀,秒拍,美拍,京东,淘宝,天猫,拼多多....) 还支持海外平台一键解析...

https://api.pearktrue.cn/api/video/api.php?url=https://v.douyin.com/iererwFh/

输出的 data 数组将包括以下信息:

  • author:作者
  • uid:抖音ID
  • like:点赞数
  • comment:评论数
  • collect:收藏数
  • share:分享数
  • time:发布时间
  • title:视频标题
  • cover:视频封面
  • url:无水印链接
  • music_url:音乐链接
  • music_cover:音乐封面 Image text

依赖

无特别依赖。

抖音X-Bogus校验

目前使用的 https://github.com/B1gM8c/X-Bogus 提供的服务

贡献

如果你有好的意见或建议,欢迎给我们提issue或者pull request。

贡献人:PearNo

协议

该项目遵循MIT协议。详见 LICENSE 文件。

联系方式

如果你有任何问题,可以通过邮箱 [email protected] 联系我。


希望这个README.md能帮助你更好地介绍和使用DouYinParse项目!

douyinparse's People

Contributors

pearnodec 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.