Files
classify_saved_videos_yt/README.md
2025-07-07 17:24:08 -03:00

125 lines
3.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# AutoDelete YouTube Videos 🗑️🎬
This script automates the process of deleting videos from your YouTube "Watch Later" playlist using PyAutoGUI.
## Requirements 📦
- Python **3.11.10** 🐍
---
## Setup & Usage (English) 🇬🇧
### 1⃣ Create a Virtual Environment
**With `venv`:**
```bash
python -m venv venv
```
**With `virtualenv`:**
```bash
python -m pip install virtualenv
python -m virtualenv venv
```
### 2⃣ Activate the Virtual Environment
**On Linux/macOS:**
```bash
source venv/bin/activate
```
**On Windows:**
```bash
venv\Scripts\activate
```
### 3⃣ Install Dependencies
```bash
pip install -r requirements.txt
```
### 4⃣ Run the Script 🚀
```bash
python script.py
```
---
## Instructions (English) 🇬🇧
### 🖼️ Browser Image
Replace the browser icon image in the `img` folder with a screenshot of your browser's icon. Make sure the filename matches the value of the `browser_img` variable in `script.py` (e.g., `brave.png` for Brave browser).
### ⏱️ Adjust Timing
The script uses `sleep` and `duration` values to wait for your PC to respond. You may need to increase or decrease these values depending on your computer's speed and internet connection.
### ▶️ Run the Script
For the script to work, it is essential that you have your browser pinned to your taskbar, otherwise you will not be able to find the icon.
Execute the script and follow the on-screen instructions. Press `q` at any time to stop the script.
---
# AutoDelete YouTube Videos 🗑️🎬
Este script automatiza el proceso de eliminar videos de tu lista de "Ver más tarde" en YouTube usando PyAutoGUI.
## Requisitos 📦
- Python **3.11.10** 🐍
---
## Configuración y Uso (Español) 🇪🇸
### 1⃣ Crear un Entorno Virtual
**Con `venv`:**
```bash
python -m venv venv
```
**Con `virtualenv`:**
```bash
python -m pip install virtualenv
python -m virtualenv venv
```
### 2⃣ Activar el Entorno Virtual
**En Linux/macOS:**
```bash
source venv/bin/activate
```
**En Windows:**
```bash
venv\Scripts\activate
```
### 3⃣ Instalar las Dependencias
```bash
pip install -r requirements.txt
```
### 4⃣ Ejecutar el Script 🚀
```bash
python script.py
```
---
## Instrucciones (Español) 🇪🇸
### 🖼️ Imagen del Navegador
Reemplaza la imagen del icono de tu navegador en la carpeta `img` con una captura de pantalla del icono de tu navegador. Asegúrate de que el nombre del archivo coincida con el valor de la variable `browser_img` en `script.py` (por ejemplo, `brave.png` para el navegador Brave).
### ⏱️ Ajusta los Tiempos
El script utiliza valores de `sleep` y `duration` para esperar la respuesta de tu PC. Puede que necesites aumentar o disminuir estos valores dependiendo de la velocidad de tu computadora y conexión a internet.
### ▶️ Ejecuta el Script
Para que el script funcione, es indispensable que tengas tu navegador anclado a tu barra de tareas, sino no podrá encontrar el icono.
Ejecuta el script y sigue las instrucciones en pantalla. Presiona `q` en cualquier momento si quieres detenerlo.