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
Python: 2.7.*
System: Windows/Linux/Mac
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)