|
@@ -43,7 +43,7 @@ def download_video_from_oss(video_id, video_path, download_folder):
|
|
|
print(line)
|
|
|
if line[-3:] == '.ts':
|
|
|
ts_path = os.path.join(root_path, line)
|
|
|
- ts_local_path = os.path.join(video_local_dir, ts_path)
|
|
|
+ ts_local_path = os.path.join(video_local_dir, line)
|
|
|
bucket.get_object_to_file(ts_path, ts_local_path)
|
|
|
print(f"{video_id} download end!")
|
|
|
except:
|