URL都没了还不更新?
This commit is contained in:
parent
9757051c89
commit
db961deace
@ -11,6 +11,7 @@ def download():
|
|||||||
while Common.api.isLive and not Common.forceNotDownload:
|
while Common.api.isLive and not Common.forceNotDownload:
|
||||||
if not Common.streamUrl:
|
if not Common.streamUrl:
|
||||||
Common.appendError("Download with No StreamUrl Specific")
|
Common.appendError("Download with No StreamUrl Specific")
|
||||||
|
Common.api.updRoomInfo(True)
|
||||||
break
|
break
|
||||||
path = datetime.strftime(datetime.now(), "%Y%m%d_%H%M.flv")
|
path = datetime.strftime(datetime.now(), "%Y%m%d_%H%M.flv")
|
||||||
p = session.get(Common.streamUrl, stream=True, timeout=3)
|
p = session.get(Common.streamUrl, stream=True, timeout=3)
|
||||||
|
Reference in New Issue
Block a user