admin commited on
Commit
49e3a43
·
1 Parent(s): 065a96f
Files changed (1) hide show
  1. modules/bili.py +3 -0
modules/bili.py CHANGED
@@ -150,6 +150,9 @@ def channel_1(video_url: str, p: int, cache: str):
150
  def infer(ch: str, video_url: str, p: int, cache=f"{TMP_DIR}/bili"):
151
  status = "Success"
152
  title = cover = desc = dur = video = author = avatar = None
 
 
 
153
  try:
154
  if not video_url:
155
  raise ValueError("视频链接为空!")
 
150
  def infer(ch: str, video_url: str, p: int, cache=f"{TMP_DIR}/bili"):
151
  status = "Success"
152
  title = cover = desc = dur = video = author = avatar = None
153
+ if not ch:
154
+ ch == _L("接口1")
155
+
156
  try:
157
  if not video_url:
158
  raise ValueError("视频链接为空!")