youngtsai commited on
Commit
915c4c3
1 Parent(s): ce3af6c

screenshot_path = img_file_id

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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,