承接 sabri/tiktok 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sabri/tiktok

Composer 安装命令:

composer require sabri/tiktok

包简介

sabri/tiktok is php Tiktok scraper

README 文档

README

Build Status

This is a PHP implementation for scraping Tiktok (or Musically) through API.

PHP 7.3 is required

Scraper API

  • getUser($uid) Returns user profile data. $uid is a user's Tiktok unique id.
  • getUserVideos($uid) Returns a list of user videos. $uid is a user's Tiktok unique id.
  • searchUser($keyword) Returns user search results.
  • getVideo($uid) Returns a video datails. $uid is a video Tiktok unique id.
  • searchHashtags($keyword) Returns a list of found hashtags.
  • getHashtagMedia($uid) Returns a list of videos for a certain hashtag. $uid is a hashtag Tiktok unique id.

Your contribution is welcome!

Use this scraper

In order to use and make requests to Tiktok API, some extra device parameters are needed. These parameters should be extracted from your mobile phone by using a man in the middle proxy. I used PacketCapture for Android, you may use any proxy application you like. Grab the following parameters: device_id, iid, openudid.

Run the example

  • Install commposer packages in the root of the project. composer install
  • Run php demo.php to see the results

Run tests

  • Before runing tests you should modify and set correct environment variables tests/bootstrap.php.
  • Do not commit tests/bootstrap.php after your changes.

统计信息

  • 总下载量: 454
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 70
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 70
  • Watchers: 13
  • Forks: 30
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-12-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固