Spaces:
Sleeping
Sleeping
Update download_movies.py
Browse files- download_movies.py +1 -0
download_movies.py
CHANGED
|
@@ -132,5 +132,6 @@ def main(output, url, delete_original=False):
|
|
| 132 |
|
| 133 |
# Convert MP4 → HLS
|
| 134 |
convert_to_hls(mp4_file, segment_time=10)
|
|
|
|
| 135 |
|
| 136 |
print("✅ All tasks completed.")
|
|
|
|
| 132 |
|
| 133 |
# Convert MP4 → HLS
|
| 134 |
convert_to_hls(mp4_file, segment_time=10)
|
| 135 |
+
os.system(f'rm -rf {mp4_file}')
|
| 136 |
|
| 137 |
print("✅ All tasks completed.")
|