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:
python -m venv venv
With virtualenv:
python -m pip install virtualenv
python -m virtualenv venv
2️⃣ Activate the Virtual Environment
On Linux/macOS:
source venv/bin/activate
On Windows:
venv\Scripts\activate
3️⃣ Install Dependencies
pip install -r requirements.txt
4️⃣ Run the Script 🚀
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:
python -m venv venv
Con virtualenv:
python -m pip install virtualenv
python -m virtualenv venv
2️⃣ Activar el Entorno Virtual
En Linux/macOS:
source venv/bin/activate
En Windows:
venv\Scripts\activate
3️⃣ Instalar las Dependencias
pip install -r requirements.txt
4️⃣ Ejecutar el Script 🚀
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.