Omnibus commited on
Commit
b4d7fed
·
1 Parent(s): 70805ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -1,14 +1,12 @@
1
- from __future__ import unicode_literals
2
  #import youtube_dl as yt
3
  import gradio as gr
4
- import youtube_dl
 
5
 
6
  def dl(inp):
7
  out = None
8
-
9
- ydl_opts = {}
10
- with youtube_dl.YoutubeDL(ydl_opts) as ydl:
11
- out = ydl.download([f'{inp}'])
12
  return out
13
 
14
 
 
1
+ #from __future__ import unicode_literals
2
  #import youtube_dl as yt
3
  import gradio as gr
4
+ import yt_dlp
5
+ import os
6
 
7
  def dl(inp):
8
  out = None
9
+ os.system('yt-dlp "https://twitter.com/TheTNHoller/status/1690375748643614720" --trim-filenames 100')
 
 
 
10
  return out
11
 
12