Skip to content

这个YouTube视频下载器是一个基于Python的GUI应用程序,允许用户下载各种分辨率的YouTube视频,并可选下载字幕。它使用了pytube库来下载视频,以及ffmpeg来处理需要合并音频和视频流的视频。

License

Notifications You must be signed in to change notification settings

rdhuht/my_YoutubeDownloader

Repository files navigation

YouTube Downloader (YouTube视频下载器)

English

Description

This YouTube Downloader is a Python-based GUI application that allows users to download YouTube videos in various resolutions and optionally with subtitles. It utilizes the yt-dlp library for downloading videos and ffmpeg for processing videos that require merging separate audio and video streams.

Features

  • Download videos in various resolutions.
  • Support for downloading subtitles.
  • Progress tracking and download cancellation.
  • Cross-platform GUI created with tkinter and ttkbootstrap.

Installation

Before running the application, ensure you have Python installed on your system. Install the required dependencies by running:

pip install -r requirements.txt

The requirements.txt should include pytube, ttkbootstrap, and other dependencies used by the script.

Usage

  1. Start the application.
  2. Enter the YouTube video URL in the provided field.
  3. Click "加载视频信息" to load video information.
  4. Select the desired video resolution and subtitle (if needed).
  5. Choose the download path.
  6. Click "下载视频" to start downloading.

Contributing

Contributions to improve the application or add new features are welcome. Please fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License.

Contact

For more information or support, please open an issue in the GitHub repository.

Disclaimer

This tool is for educational and research purposes only, do not use it for any illegal purposes. Downloading videos using this tool may violate YouTube's Terms of Service, use it at your own risk.

中文

描述

这个YouTube视频下载器是一个基于Python的GUI应用程序,允许用户下载各种分辨率的YouTube视频,并可选下载字幕。它使用了yt-dlp库来下载视频,以及ffmpeg来处理需要合并音频和视频流的视频。

特点

  • 支持下载不同分辨率的视频。
  • 支持下载字幕。
  • 进度跟踪和取消下载功能。
  • 跨平台GUI,使用tkinterttkbootstrap创建。

安装

运行应用程序前,请确保系统已安装Python。通过运行以下命令安装所需依赖:

pip install -r requirements.txt

requirements.txt应包括pytubettkbootstrap和脚本使用的其他依赖项。

用法

  1. 启动应用程序。
  2. 在提供的字段中输入YouTube视频URL。
  3. 点击“加载视频信息”加载视频信息。
  4. 选择所需的视频分辨率和字幕(如果需要)。
  5. 选择下载路径。
  6. 点击“下载视频”开始下载。

贡献

欢迎贡献以改进应用程序或添加新功能。请fork仓库,进行更改,并提交拉取请求。

许可

该项目在MIT许可下授权。

联系方式

更多信息或支持,请在GitHub仓库中开一个issue。

警告

本工具仅供学习和研究目的,请勿用于任何非法目的。使用本工具下载视频可能违反YouTube的服务条款,请自行承担相应的法律责任。

About

这个YouTube视频下载器是一个基于Python的GUI应用程序,允许用户下载各种分辨率的YouTube视频,并可选下载字幕。它使用了pytube库来下载视频,以及ffmpeg来处理需要合并音频和视频流的视频。

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages