Giter Site home page Giter Site logo

Comments (2)

Crawler995 avatar Crawler995 commented on May 29, 2024

十分抱歉,学业繁忙,见谅。
server.ts的第101行表示当服务端接收到disconnect信号(即客户端页面关闭)时调用RoomManager.removeRoom()函数,该函数中调用了stopRoomCrawlProcess()函数,即停止抓取,所以把该函数注释掉理论上就能后台抓取。当然可能有很多细节还需要处理,试试看。

from douyubarrage-pro.

Crawler995 avatar Crawler995 commented on May 29, 2024

当然更优雅的做法是你自己单独写个项目,把我用于抓弹幕的那些逻辑文件拿出来放在你的项目里当作库使用即可。有时间的话我也会考虑单独弄一个轻量的、能直接在命令行里面操作的抓取程序。

from douyubarrage-pro.

Related Issues (17)

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.