GithubHelp home page GithubHelp logo

shuixi2013 / douyucrawler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bruce3x/douyucrawler

0.0 1.0 0.0 45 KB

一个Java程序,用于抓取斗鱼弹幕。

License: Apache License 2.0

Java 100.00%

douyucrawler's Introduction

DouyuCrawler

一个 Java 程序,用于抓取斗鱼弹幕等数据。

思路介绍

具体过程介绍见我的博客:抓取斗鱼直播弹幕 - Brucezz's Blog

用法

程序入口为 me.brucezz.crawler.Main

需要自己配置 conf.properties 文件:

  • debug : 决定是否显示详细的调试信息
  • db.X : 数据库(MySQL)相关设置
  • room.url.X : 抓取房间列表, 可同时抓取多个房间

Todo

  • 持久化Log信息到本地
  • 数据库操作转化为异步,消除潜在的效率影响
  • 寻求更佳的程序退出逻辑(目前为死循环不断抓取,没有结束条件,只能通过键盘中断或者终止进程)
  • 寻求多种模式抓取(比如抓取人气最高的几个房间,或对类别相同的房间进行抓取)
  • 解析多种数据(比如鱼丸,火箭等礼物的赠送数据)

欢迎提各种 issue & pull request

douyucrawler's People

Contributors

bruce3x avatar yanglw avatar

Watchers

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