Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ class YouTubeDownloader:
|
|
| 117 |
|
| 118 |
for line in lines:
|
| 119 |
line = line.strip()
|
| 120 |
-
if line.strip().startswith(
|
| 121 |
# This is a new scene timestamp line
|
| 122 |
if current_scene:
|
| 123 |
scenes.append(current_scene.strip())
|
|
|
|
| 117 |
|
| 118 |
for line in lines:
|
| 119 |
line = line.strip()
|
| 120 |
+
if line.strip().startswith("**[") and "]**:" in line:
|
| 121 |
# This is a new scene timestamp line
|
| 122 |
if current_scene:
|
| 123 |
scenes.append(current_scene.strip())
|