Download Video di Youtube menggunakan Python

$ pip install pytube
import pytube
url = "<url>" # Masukan url video yang ingin di unduh
youtube = pytube.Youtube(url)
video = youtube.streams.get_highest_resolution()
video.download("<directory>") # Lokasi tempat video akan disimpan
Tetap Terhubung dengan Kami
Share this
×