File size: 338 Bytes
9c676f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import streamlit as st
import tube as tb

tb.clear_cache()


md = '''
# YouTube Downloader
'''

st.markdown(md)


url = st.text_input(
    placeholder="https://www.youtube.com/",
    label='**Enter the url of the youtube:**',
    key='title'
)



if url is not None and ('https' in url or 'http' in url):
    tb.download_yt(url)