You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/.../downloader.py", line 239, in main
combine_video(title_list)
File "/.../downloader.py", line 167, in combine_video
for file in sorted(os.listdir(current_video_path), key=lambda x: int(x[x.rindex("-") + 1:x.rindex(".")])):
File "/.../downloader.py", line 167, in <lambda>
for file in sorted(os.listdir(current_video_path), key=lambda x: int(x[x.rindex("-") + 1:x.rindex(".")])):
ValueError: substring not found
一個可以考慮的解決方案是, 在title後添加一個隨機字符串
The text was updated successfully, but these errors were encountered:
對於沒有合法title的視頻, 例如av22706030和#75 中提到的視頻, 程序將無法創建文件夾
/bilibili_video/video_title/
, 故對應的文件將下載在文件夾/bilibili_video/
中當該文件夾包含一個以上的視頻文件時, 函數
combine_video
會認爲正在下載的視頻是一個分段視頻, 並試圖進行合並. 但事實上該視頻並非分段視頻, 故會出現如下報錯一個可以考慮的解決方案是, 在title後添加一個隨機字符串
The text was updated successfully, but these errors were encountered: