Giter Club home page Giter Club logo

douyin-live-room-data-collection's Introduction

Douyin-live-room-data-collection

dy直播间基本数据采集

本项目仅供学习,严禁用于任何商业、违法行为!


1.项目运行所需库

  • uvicorn 服务运行基础
  • fastapi web接口服务
  • apscheduler 定时任务库
  • aiosql 数据库异步读写
  • httpx web异步请求库

2.更改配置

转到douyin/config.py文件

其中,room_id填入在网页访问dy直播间的网址id 例: https://live.d**y**.com/**123456789** 123456789即需要填入的房间id 其余按注释修改即可。

3.运行

进入根目录后 uvicorn main:app --port 8880python3 main.py

4.数据管理

项目并未编写数据管理面板,如有需要请自行解决 但项目提供了一个最简单的状态查看接口,内网环境下访问 http://127.0.0.1:8880, 外网环境可使用ngnix反代后ip加端口即可。

请求后返回: 在线房间,房间名及房间所属用户,房间在线用户状态

douyin-live-room-data-collection's People

Contributors

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