Advertisement
AntonioVillanueva

You Tube downloader

Jan 16th, 2021
1,165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.47 KB | None | 0 0
  1. #!/usr/bin/python
  2. # -*- coding: latin-1 -*-
  3. """  
  4.    YouTube downloader Antonio Villanueva Segura
  5.    usando la libreria pytube
  6.    https://github.com/pytube/pytube?fbclid=IwAR1T-KnFOsFrYdbBRZ3U7zUGwcuT-ESZO2TGIL1RLPIKuxY0BZ1JbFol6s0
  7.    
  8. """
  9. from pytube import YouTube
  10.  
  11. def main():
  12.    
  13.     http =input(str("Introduzca direccion YouTube a descargar :"))
  14.     print ("Descargando "+http);
  15.     YouTube(http).streams.first().download()
  16.  
  17.  
  18. if  __name__ =='__main__':main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement