Comments (2)
十分抱歉,学业繁忙,见谅。
server.ts的第101行表示当服务端接收到disconnect信号(即客户端页面关闭)时调用RoomManager.removeRoom()函数,该函数中调用了stopRoomCrawlProcess()函数,即停止抓取,所以把该函数注释掉理论上就能后台抓取。当然可能有很多细节还需要处理,试试看。
from douyubarrage-pro.
当然更优雅的做法是你自己单独写个项目,把我用于抓弹幕的那些逻辑文件拿出来放在你的项目里当作库使用即可。有时间的话我也会考虑单独弄一个轻量的、能直接在命令行里面操作的抓取程序。
from douyubarrage-pro.
Related Issues (17)
- echarts-for-react报错 has no exported member 'ObjectMap'. HOT 2
- How to capture contribution value? HOT 1
- 老哥我想问一下如何去掉定时清理数据库 HOT 5
- 弹幕墙的实现在哪个文件呢 HOT 1
- 考虑加入直播录制功能吗 HOT 1
- 能否实现后台抓取弹幕 HOT 3
- 用户id问题 HOT 1
- web包一直下依赖报错
- 这个统计礼物数量吗? HOT 4
- Node.js已安装但仍提示需JS HOT 1
- 能够添加dockfile支持呢 HOT 5
- 连接服务器失败是什么问题
- 抖音、快手平台的弹幕抓取 HOT 2
- 在服务器上运行server与web程序,请求返回 Invalid Host Header HOT 7
- 这个具体的使用方法是什么呢.. HOT 1
- Windows npm install一直报错 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from douyubarrage-pro.