Skip to content

Kevinsss/danmu_panda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crawl Bullet screen of PandaTV

Description

Crawl bullet scree(or "dan mu" in Chinese) of PandaTV's Liveroom.
main.py: start point.
Utils.py: tools class.
PandaTv.py: connect TCP server(ip:port) to crawl bullet screen data.
PandaMsg.py: type of PandaTV message.

HEART_TIME(line:132 in PandaTV.py): represent heartbeat time, user-defined

Environment

Python: 2.7.*
System: Windows/Linux/Mac

Usage

To run main.py normaly,you need these parameters:
	-rid roomid : 	PandaTV room id
	-f(Optional): 	whether out to file
Example:
	python main.py -rid 123456 -f (crawl roomid:123456 and output result to file) 
	python main.py -rid 123456	(crawl roomid:123456 and output result to console)

Result:

image

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages