latelan / bilive Goto Github PK
View Code? Open in Web Editor NEWalways online at live.bilibili
always online at live.bilibili
看了一遍代码,按照代码上的{k1:v1, k2:v2} 把cookie填进去了,然后文件名也找到了, 但是再次运行发生以下出错代码
这个是utf-8无bom编码
Traceback (most recent call last):
File "bilive.py", line 141, in
cookie_dict = get_cookie(COOKIE_FILE)
File "bilive.py", line 134, in get_cookie
return json.loads(cookie)
File "C:\Python27\lib\json_init_.py", line 338, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 1 column 2 (char 1)
这个是utf-8编码
Traceback (most recent call last):
File "bilive.py", line 141, in
cookie_dict = get_cookie(COOKIE_FILE)
File "bilive.py", line 134, in get_cookie
return json.loads(cookie)
File "C:\Python27\lib\json_init_.py", line 338, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
请问是什么原因呢
Hello, 饭饭mvp!
RoomId: 57076
Heart Status: Error, Retrying......(1)
RoomId: 57076
Heart Status: Error, Retrying......(2)
RoomId: 57076
Heart Status: Error, Retrying......(3)
RoomId: 57076
Heart Status: Error, Retrying......(4)
RoomId: 57076
Heart Status: Error, Retrying......(5)
RoomId: 75031
Live Level: 9
Upgrade requires: 82000
Level Rank: >50000
Heart Status: Error
Heart Time: 2016-12-12 23:38:09
Debug:{"code":-403,"msg":"非法心跳","data":[1481557089,1481556865]}
Login Failed: {"code":-101,"msg":"\u8bf7\u5148\u767b\u5f55","data":[]},云打码显示成功,密码也没错
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.