GilbertClaus commited on
Commit
160a9aa
·
1 Parent(s): c605477

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def cut_video(link, resolusi_input, start_time_str, end_time_str):
43
  yt = YouTube(link)
44
 
45
  nama_channel = yt.author
46
- judul_video = yt.title.replace('/', ' ')
47
  tanggal_upload = yt.publish_date.strftime("%-d %B %Y")
48
  jumlah_viewer = format_number(yt.views)
49
  selisih_hari = (datetime.now() - yt.publish_date).days
 
43
  yt = YouTube(link)
44
 
45
  nama_channel = yt.author
46
+ judul_video = yt.title.replace('/', '-').replace('\\', '-')
47
  tanggal_upload = yt.publish_date.strftime("%-d %B %Y")
48
  jumlah_viewer = format_number(yt.views)
49
  selisih_hari = (datetime.now() - yt.publish_date).days