Giter Site home page Giter Site logo

crawler995 / douyubarrage-pro Goto Github PK

View Code? Open in Web Editor NEW
163.0 4.0 28.0 2.45 MB

(2020年最新)斗鱼弹幕抓取及可视化管理平台第二版,提供弹幕抓取、弹幕实时发送速度可视化、抓取记录查询、弹幕下载、自定义关键词统计、铁粉统计、高光时刻自动捕获、高频弹幕词云等功能,起飞~~~

TypeScript 97.85% JavaScript 0.28% HTML 1.45% CSS 0.43%
douyu danmu douyutv barrage crawler data-visualization management-system

douyubarrage-pro's Issues

老哥我想问一下如何去掉定时清理数据库

我想问一下这个程序现在好像是每天都会清空前一天的数据,我打算开发一个程序拿来查询弹幕。但是数据会清空不太好,自己找了挺久的没看到在哪里清空数据。方便讲一下吗

能否实现后台抓取弹幕

网页窗口一关,弹幕抓取就停了,可否实现后台一直抓取,不受前端窗口影响,除非手动点击停止抓取/

Windows npm install一直报错

D:\program\DouyuBarrage-Pro\dybarrage-server>npm install

[email protected] install D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://github.com/yanyiwu/nodejieba/releases/download/2.4.0/nodejieba-v2.4.0-node-v72-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn D:\����\visual studio\MSBuild\Current\Bin\MSBuild.exe ENOENT
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
gyp ERR! stack at onErrorNT (internal/child_process.js:469:16)
gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "D:\nodejs\node.exe" "D:\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallback-to-build" "--module=D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba\build\Release\nodejieba.node" "--module_name=nodejieba" "--module_path=D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba\build\Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba
gyp ERR! node -v v12.18.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! This is a bug in node-gyp.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/nodejs/node-gyp/issues
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'D:\nodejs\node.exe D:\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba\build\Release\nodejieba.node --module_name=nodejieba --module_path=D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba\build\Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (7)
node-pre-gyp ERR! stack at ChildProcess. (D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Windows_NT 10.0.17763
node-pre-gyp ERR! command "D:\nodejs\node.exe" "D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba
node-pre-gyp ERR! node -v v12.18.2
node-pre-gyp ERR! node-pre-gyp -v v0.14.0
node-pre-gyp ERR! not ok
Failed to execute 'D:\nodejs\node.exe D:\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba\build\Release\nodejieba.node --module_name=nodejieba --module_path=D:\program\DouyuBarrage-Pro\dybarrage-server\node_modules\nodejieba\build\Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (7)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache_logs\2020-07-08T07_25_29_771Z-debug.log

用户id问题

为什么导出的用户id不是正常的用户id呀,请问这个怎么解决谢谢

在服务器上运行server与web程序,请求返回 Invalid Host Header

经过检索,这可能是webpack中disableHostCheck参数设置为false. 导致前端只能接受127.0.0.1或者localhost本地请求。
如果用服务器IP或者域名请求,返回Invalid Host Header. 但是由于我对webpack和react本身的不熟悉,我也不能清晰定位配置文件位置和参数位置,无法正确配置。

web包一直下依赖报错

尝试了一晚上 web包都在报错跑不起来 不知道到底是什么依赖没下好 install以后还递归fix audi

这个具体的使用方法是什么呢..

平台:centos7 x86。sql是本来就有的,安装了node.js。
安装依赖步骤是直接cd dybarrage-server/ 然后npm install 吗..
我这样操作了之后有很多的警告和报错
1
2
emmm..

echarts-for-react报错 has no exported member 'ObjectMap'.

在web文件夹下运行nmp start,报这个错误?

Module '"../../node_modules/echarts-for-react/lib"' has no exported member 'ObjectMap'. Did you mean to use 'import ObjectMap from "../../node_modules/echarts-for-react/lib"' instead? TS2614

网上搜了一下,对echarts-for-react的core.d.ts和index.d.ts更改,增加exports.ObjectMap=ObjectMap,仍然没有运行啊。。。这是为什么呢?

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.