xiaomiku01 / douyin-live-go Goto Github PK
View Code? Open in Web Editor NEW抖音(web) 弹幕爬虫 golang 实现
License: GNU General Public License v3.0
抖音(web) 弹幕爬虫 golang 实现
License: GNU General Public License v3.0
改了房间id后,直接连接不上,好像是协议更新了
在程序运行一段时间之后会出现socket异常,异常也各不相同
panic: websocket: close 1006 (abnormal closure): unexpected EOF
panic: concurrent write to websocket connection
goroutine 20 [running]:
github.com/gorilla/websocket.(*messageWriter).flushFrame(0xc00060af90, 0x1, {0x0?, 0x0?, 0x0?})
C:/Users/Administrator/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:617 +0x52b
github.com/gorilla/websocket.(*messageWriter).Close(0x0?)
C:/Users/Administrator/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:731 +0x45
github.com/gorilla/websocket.(*Conn).beginMessage(0xc000135760, 0xc00060afc0, 0x2)
C:/Users/Administrator/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:480 +0x42
github.com/gorilla/websocket.(*Conn).NextWriter(0xc000135760, 0x2)
C:/Users/Administrator/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:520 +0x45
github.com/gorilla/websocket.(*Conn).WriteMessage(0x0?, 0x0?, {0xc00020c854, 0x4, 0x4})
C:/Users/Administrator/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:773 +0x152
main.(*Room).send(0xc00005d920)
D:/workStation/go/douyin-live-go/room.go:156 +0xa5
created by main.(*Room).Connect
D:/workStation/go/douyin-live-go/room.go:115 +0x35c
您好,我这边遇到获取直播间弹幕,用户名是星号的,比如id:小小小,显示的是小***
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.