You've already forked XiguaLiveDanmakuHelper
开始上传就登陆下
This commit is contained in:
11
Common.py
11
Common.py
@ -36,11 +36,6 @@ network = [{
|
||||
}]
|
||||
|
||||
|
||||
def loginBilibili():
|
||||
res = b.login(config["b_u"], config["b_p"])
|
||||
appendOperation("登陆账号,结果为:["+res+"]")
|
||||
|
||||
|
||||
def updateNetwork():
|
||||
global network
|
||||
network.append({
|
||||
@ -147,7 +142,6 @@ downloadStatus = []
|
||||
encodeStatus = []
|
||||
errors = []
|
||||
operations = []
|
||||
loginBilibili()
|
||||
|
||||
|
||||
def appendOperation(obj):
|
||||
@ -265,6 +259,11 @@ def appendError(obj):
|
||||
errors = errors[-config["elc"]:]
|
||||
|
||||
|
||||
def loginBilibili():
|
||||
res = b.login(config["b_u"], config["b_p"])
|
||||
appendOperation("登陆账号,结果为:["+res+"]")
|
||||
|
||||
|
||||
class downloader(XiGuaLiveApi):
|
||||
playlist = None
|
||||
|
||||
|
Reference in New Issue
Block a user