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.
Metadata
Release files for pyrewind 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrewind-0.0.1.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrewind-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / pyrewind-0.0.1.tar.gz
| Download URL | pyrewind-0.0.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86ccbb0d49a81b80037effbab5766d74d9bd30a6714dc6fa2ad37823d5374b5d
|
|
BLAKE2b-256 checksum How to use checksums |
6b1b03c2992b4a36853fb3bc2c70d5626c5e196e22ec1d44c6310e8a9040c730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / pyrewind-0.0.1-py3-none-any.whl
| Download URL | pyrewind-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a632923d0310dc218b9457e1cd34f40b97af1cd5cc74dd60c46ea5bf0d0ec0dc
|
|
BLAKE2b-256 checksum How to use checksums |
96ab7c61d6549df7d246931a179eb99a2b2ae17ea116d76a07e9700c681c6e97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|