Omnibus commited on
Commit
14b347b
·
1 Parent(s): 2edcc13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -33,13 +33,6 @@ def dl(inp):
33
  inp_out=inp_out.replace("/","_").replace(".","_")
34
  os.system(f'yt-dlp "{inp}" --trim-filenames 100 -o "{inp_out}.mp4"')
35
  out = f"{inp_out}.mp4"
36
- try:
37
- with open(f"{inp_out}.info.json", "r") as f:
38
- f_out = f.read()
39
- json_object = json.loads(f_out)
40
- out_json = json.dumps(json_object, indent=4)
41
- except Exception as e:
42
- print (e)
43
  except Exception as e:
44
  print (e)
45
  out = None
 
33
  inp_out=inp_out.replace("/","_").replace(".","_")
34
  os.system(f'yt-dlp "{inp}" --trim-filenames 100 -o "{inp_out}.mp4"')
35
  out = f"{inp_out}.mp4"
 
 
 
 
 
 
 
36
  except Exception as e:
37
  print (e)
38
  out = None