youngtsai commited on
Commit
d52b5e8
1 Parent(s): 1fe1616

screenshot_path = f"https://lh3.googleusercontent.com/d/{img_file_id}=s4000"

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -288,7 +288,8 @@ def process_youtube_link(link):
288
  end_time = format_seconds_to_time(entry['start'] + entry['duration'])
289
  embed_url = get_embedded_youtube_link(video_id, entry['start'])
290
  img_file_id = entry['img_file_id']
291
- screenshot_path = f"https://drive.google.com/thumbnail?id={img_file_id}&sz=s4000"
 
292
  line = {
293
  "start_time": start_time,
294
  "end_time": end_time,
 
288
  end_time = format_seconds_to_time(entry['start'] + entry['duration'])
289
  embed_url = get_embedded_youtube_link(video_id, entry['start'])
290
  img_file_id = entry['img_file_id']
291
+ #https://lh3.googleusercontent.com/d/1GsvIXIURnWMnLwpg0cAllUzQlugF7Gr5=s4000
292
+ screenshot_path = f"https://lh3.googleusercontent.com/d/{img_file_id}=s4000"
293
  line = {
294
  "start_time": start_time,
295
  "end_time": end_time,