Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-3342 authored Sep 12, 2024
1 parent ab33797 commit 0326609
Showing 1 changed file with 30 additions and 58 deletions.
88 changes: 30 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Video Downloader: Versión 1.0.1
# Video Downloader: Versión 1.1.0

![image](https://github.com/user-attachments/assets/d35b2183-d797-4146-bd84-ef9b06b60fd3)
![image](https://github.com/user-attachments/assets/a6d28209-a21c-4746-a25f-6511b4326e58)

# English:

Expand All @@ -12,22 +12,24 @@ This program coded in Python 3.12.5 allows the user to insert the URL of a video

1. audio.mp3
2. video.mp3
3. final_result.mp3
3. final_result.mp3 (only available of FFmpeg is installed properly)

The way the code works is as follows:

First it detects if you have the credentials “visitor_data” and “po_token”. If you have them, it starts the download. In case you don't have them, the wonderful python program
of unixfox (https://github.com/iv-org/youtube-trusted-session-generator) will create those two credentials and transmit them to the main program.
First it detects if you have the credentials “visitor_data” and “po_token”. If you have them, it starts the download. In case you don't have them, the program CredentialGenerator.py will provide you those.
When you get your credentials, you can paste them onto the terminal of the main program and wait for the download to finish.

## Libraries used:

pytubefix==6.15.4
pillow==10.4.0
customtkinter==5.2.2
websockets==13.0.1
nodriver==0.32

## Installation instructions:

The user must have FFmpeg (https://www.gyan.dev/ffmpeg/builds/) installed. In case you are new to adding programs to your computer's PATH, the following WikiHow article explains how to do it.
The user must have FFmpeg (https://www.gyan.dev/ffmpeg/builds/) installed if they want to use the "Combine into a single file" feature. FFmpeg isn't needed for the rest of the program. In case you are new to adding programs to your computer's PATH, the following WikiHow article explains how to do it.
WikiHow article explains in a very clear and simple way how to install and add FFmpeg (https://www.wikihow.com/Install-FFmpeg-on-Windows) to the PATH.

If you have added FFmpeg to your system PATH, but Windows still does not recognize FFmpeg from the terminal, try doing the following:
Expand All @@ -36,7 +38,8 @@ If you have added FFmpeg to your system PATH, but Windows still does not recogni

### Windows (only operating system with a distribution)

The executable file is located inside the “main.dist” folder. The name of the executable file is main.exe. To run the program just open the executable file and you are done.
The executable file is located inside the “VideoDownloader.dist” folder. The name of the executable file is VideoDownloader.exe. To run the program just open the executable file and you are done.
Same is said about the CredentialGenerator executable file. It is in the "CredentialGenerator.dist".

## Feedback and issues:

Expand All @@ -46,76 +49,45 @@ If you would like to send me feedback on the code, please email me at the follow

# Español:

Este programa codificado en Python 3.12.5 permite al usuario insertar la URL de un vídeo de youtube.com y crear 3 archivos con la extensión ".mp4".
SI Windows SmartScreen bloquea el programa, pulse «Más información» y luego «Ejecutar de todos modos».

1. audio.mp3
2. video.mp3
3. final_result.mp3

La forma en la que el código funciona es la siguiente:

Primero detecta si tienes las credenciales "visitor_data" y "po_token". En el caso de tenerlas, empieza la descarga. En el caso de no tenerlas, el maravilloso programa de python
de unixfox (https://github.com/iv-org/youtube-trusted-session-generator) creará esas dos credenciales y las transmitirá al programa principal.

## Librerías usadas:

pytubefix==6.15.4
pillow==10.4.0
customtkinter==5.2.2

## Instrucciones de instalación:

El usuario debe tener instalado FFmpeg (https://www.gyan.dev/ffmpeg/builds/). En el caso de ser un novato en cuanto a añadir programas a el PATH de su ordenador, el siguiente
artículo de WikiHow explica de una forma muy clara y sencilla cómo instalar y añadir al PATH FFmpeg (https://www.wikihow.com/Install-FFmpeg-on-Windows)

Si ha añadido FFmpeg a el PATH de su sistema, pero todavía Windows no reconoce FFmpeg desde la terminal, pruebe a hacer lo siguiente:

![image](https://github.com/user-attachments/assets/45b4a3f9-1796-4961-b580-89a0e3011fd2)

### Windows (único sistema operativo con una distribución)

El archivo ejecutable se encuentra dentro de la carpeta "main.dist". El nombre del archivo ejecutable es main.exe. Para ejecutar el programa sólo se necesita abrir el archivo ejecutable y listo.

## Feedback y errores:

Si hay algún error, por favor abra una discusión aquí: (https://github.com/hacker-3342/VideoDownloader/issues). Introduzca los pasos para reproducir el error, qué estaba haciendo antes de recibir el error y si está usando la versión más reciente del programa. Los errores en versiones más antiguas **NO SE ATENDERÁN.**

Si desea enviarme feedback sobre el código, por favor escriba un email a la siguiente dirección de correo electrónico: ([email protected]). ¡Toda ayuda se aprecia!

# English:
![image](https://github.com/user-attachments/assets/8890bb64-dff0-4783-8d38-cb20c042426c)

This program coded in Python 3.12.5 allows the user to insert the URL of a video from youtube.com and create 3 files with the extension “.mp4.
Este programa codificado en Python 3.12.5 permite al usuario insertar la URL de un video de youtube.com y crear 3 archivos con la extensión «.mp4».

1. audio.mp3
2. video.mp3
3. final_result.mp3
3. final_result.mp3 (sólo disponible si FFmpeg está instalado correctamente)

The way the code works is as follows:
El funcionamiento del código es el siguiente:

First it detects if you have the credentials “visitor_data” and “po_token”. If you have them, it starts the download. In case you don't have them, the wonderful python program
of unixfox (https://github.com/iv-org/youtube-trusted-session-generator) will create those two credentials and transmit them to the main program.
Primero detecta si tienes las credenciales «visitor_data» y «po_token». Si las tienes, inicia la descarga. En caso de que no las tengas, el programa CredentialGenerator.py te las proporcionará.
Cuando tengas tus credenciales, puedes pegarlas en el terminal del programa principal y esperar a que termine la descarga.

## Libraries used:
## Librerías usadas:

pytubefix==6.15.4
pillow==10.4.0
customtkinter==5.2.2
websockets==13.0.1
nodriver==0.32

## Installation instructions:
## Instrucciones de instalación:

The user must have FFmpeg (https://www.gyan.dev/ffmpeg/builds/) installed. In case you are new to adding programs to your computer's PATH, the following WikiHow article explains how to do it.
WikiHow article explains in a very clear and simple way how to install and add FFmpeg (https://www.wikihow.com/Install-FFmpeg-on-Windows) to the PATH.
El usuario debe tener FFmpeg (https://www.gyan.dev/ffmpeg/builds/) instalado si quiere usar la función «Combinar en un solo archivo». FFmpeg no es necesario para el resto del programa. En caso de que seas nuevo en esto de añadir programas al PATH de tu ordenador, el siguiente artículo de WikiHow explica cómo hacerlo.
El artículo de WikiHow explica de forma muy clara y sencilla cómo instalar y añadir FFmpeg (https://www.wikihow.com/Install-FFmpeg-on-Windows) al PATH.

If you have added FFmpeg to your system PATH, but Windows still does not recognize FFmpeg from the terminal, try doing the following:
Si has añadido FFmpeg al PATH de tu sistema, pero Windows sigue sin reconocer FFmpeg desde el terminal, prueba a hacer lo siguiente:

![image](https://github.com/user-attachments/assets/45b4a3f9-1796-4961-b580-89a0e3011fd2)

### Windows (only operating system with a distribution)
### Windows (único sistema operativo con distribución)

The executable file is located inside the “main.dist” folder. The name of the executable file is main.exe. To run the program just open the executable file and you are done.
El archivo ejecutable se encuentra dentro de la carpeta «VideoDownloader.dist». El nombre del archivo ejecutable es VideoDownloader.exe. Para ejecutar el programa basta con abrir el archivo ejecutable y listo.
Lo mismo ocurre con el archivo ejecutable CredentialGenerator. Se encuentra en el «CredentialGenerator.dist».

## Feedback and issues:
## Comentarios y problemas:

If there are any errors, please open a discussion here: (https://github.com/hacker-3342/VideoDownloader/issues). Enter the steps to reproduce the error, what you were doing before you received the error, and if you are using the most recent version of the program. Errors in older versions **WON'T BE ATTENDED**.
Si hay algún error, por favor abra una discusión aquí: (https://github.com/hacker-3342/VideoDownloader/issues). Introduce los pasos para reproducir el error, qué estabas haciendo antes de recibir el error, y si estás usando la versión más reciente del programa. Los errores en versiones anteriores **NO SERÁN ATENDIDOS**.

If you would like to send me feedback on the code, please email me at the following email address: ([email protected]). All help is appreciated!
Si desea enviarme comentarios sobre el código, envíeme un correo electrónico a la siguiente dirección ([email protected]). ¡Toda ayuda es apreciada!

0 comments on commit 0326609

Please sign in to comment.