Skip to main content

PyRewind es una poderosa librería de Python diseñada para facilitar la obtención y descarga de videos que han sido eliminados anteriormente en YouTube.

Project description

pyrewind

pyrewind es una potente biblioteca de Python diseñada para facilitar la obtención y descarga de vídeos que se han eliminado previamente, así como la descarga de vídeos actuales. pyrewind utiliza herramientas como pytube.

Instalación

pip install pyrewind

Uso

Utiliza la clase YouTube pasando la URL del video como argumento al constructor:

from rewind import YouTube

# Crea una instancia del objeto YouTube con la URL del video deseado
youtube_obj = YouTube('https://www.youtube.com/watch?v=VIDEO_ID')

Accede a las propiedades del video obtenido:

print(youtube_obj.title)         # Título del video
print(youtube_obj.publish_date)  # Fecha de publicación

Descarga el video utilizando el método download:

youtube_obj.download()

No es necesario especificar la ruta ya que la guardaría en un directorio creado por él y el vídeo estaría dentro.

Contribución

Las contribuciones son bienvenidas! Si encuentras algún problema o te gustaría agregar nuevas funciones a PyRewind, siéntete libre de abrir un "issue" o enviar una solicitud de extracción.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrewind-0.0.1.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

pyrewind-0.0.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page