User Tools

Site Tools


ytdl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ytdl [2025/10/18 16:32] – created mikoytdl [2025/11/25 16:37] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Mikos Batch Downloader ======
 +
 +This tool provides a graphical interface for batch downloading videos or audio using ''yt-dlp''. It supports playlists, format selection, cookie authentication, and live progress display.
 +
 +===== Features =====
 +  * Add multiple video or playlist URLs
 +  * Choose output directory and optional cookies file
 +  * Select download format (''best'', ''mp4'', ''bestaudio'', ''mp3'')
 +  * Start and cancel downloads with progress feedback
 +  * View live output from ''yt-dlp'' in a text box
 +
 +===== Requirements =====
 +  * Python 3.x
 +  * ''yt-dlp'' installed and available in system PATH
 +  * Standard Python libraries:
 +    * ''tkinter''
 +    * ''subprocess''
 +    * ''threading''
 +    * ''os''
 +    * ''re''
 +
 +===== Usage =====
 +  - Start the GUI by running the script.
 +  - Paste a video or playlist URL into the input field.
 +  - Click **Add Link** to queue it.
 +  - Choose an output folder and optionally a ''cookies.txt'' file.
 +  - Select desired format from the dropdown.
 +  - Click **Start Downloads** to begin.
 +  - Use **Cancel Downloads** to stop the current process.
 +
 +===== GUI Overview =====
 +  * '''URL Entry''': Input field for video/playlist links
 +  * '''Listbox''': Displays queued URLs
 +  * '''Format Dropdown''': Choose download format
 +  * '''Buttons''':
 +    * Add Link
 +    * Clear List
 +    * Choose Folder
 +    * Choose Cookies
 +    * Start Downloads
 +    * Cancel Downloads
 +  * '''Progress Bar''': Shows download percentage
 +  * '''Text Output''': Displays live ''yt-dlp'' output
 +
 +===== Notes =====
 +  * Downloads run in a separate thread to keep the GUI responsive.
 +  * Progress is parsed from ''yt-dlp'' output using regular expressions.
 +  * Audio extraction is supported via ''--extract-audio'' for MP3.
 +
 +===== License =====
 +This script is provided as-is. Feel free to modify and redistribute under an open-source license of your choice.
 +
 +===== Code =====
 +
 <code python> <code python>
 import tkinter as tk import tkinter as tk
ytdl.1760805156.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki