Spaces:
Sleeping
Sleeping
screenshot_path = img_file_id
Browse files
app.py
CHANGED
@@ -490,7 +490,8 @@ def process_youtube_link(link):
|
|
490 |
end_time = format_seconds_to_time(entry['start'] + entry['duration'])
|
491 |
embed_url = get_embedded_youtube_link(video_id, entry['start'])
|
492 |
img_file_id = entry['img_file_id']
|
493 |
-
screenshot_path = f"https://lh3.googleusercontent.com/d/{img_file_id}=s4000"
|
|
|
494 |
line = {
|
495 |
"start_time": start_time,
|
496 |
"end_time": end_time,
|
|
|
490 |
end_time = format_seconds_to_time(entry['start'] + entry['duration'])
|
491 |
embed_url = get_embedded_youtube_link(video_id, entry['start'])
|
492 |
img_file_id = entry['img_file_id']
|
493 |
+
# screenshot_path = f"https://lh3.googleusercontent.com/d/{img_file_id}=s4000"
|
494 |
+
screenshot_path = img_file_id
|
495 |
line = {
|
496 |
"start_time": start_time,
|
497 |
"end_time": end_time,
|