mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Add YouTube provider
This commit is contained in:
parent
89a45f38b6
commit
c718011cb8
5 changed files with 138 additions and 1 deletions
|
|
@ -758,7 +758,7 @@ class Api:
|
|||
if m:
|
||||
return int(m.group(0))
|
||||
else:
|
||||
raise ValueError("No timestamp found in filename")
|
||||
return 0
|
||||
target = os.path.join(get_media_dir(), os.path.basename(filename))
|
||||
if thumbnail and has_pillow:
|
||||
thumbnail_dir = os.path.join(get_media_dir(), "thumbnails")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue