| English | 简体中文 |
Use PyInstaller to bundle You-Get into a single executable for Windows.
Notice: This is NOT the official build.
Download the latest build executable from Releases Page.
If something goes wrong when using the latest released executable, feel free to start a new discussion or submit an issue.
You'd better attach the debug info. Get the detailed error report by adding the --debug
option:
you-get --debug https://your.video/url/here
For SSL related issues, try to use -k, --insecure
option:
you-get -k --debug https://your.video/url/here
See below if you want to bundle and build by yourself.
The following dependencies are required and must be installed separately.
-
Python 3.8-3.12
You can find the supported Python versions in the README of PyInstaller. To create a 32-bit executable, run PyInstaller under a 32-bit Python.
# clone this repository
git clone --recurse-submodules https://github.com/LussacZheng/you-get.exe.git
# create virtualenv and install dependencies
poetry install --no-root
# run `build.py` under virtualenv
poetry run python build.py
Find the executable in dist/
directory.
To re-build after the new release of You-Get:
# make sure the build script is up to date
git pull
# update the repository of `you-get`
git submodule update --remote
# cd build\you-get
# git checkout v0.x.xxxx
# update dependencies
poetry update
# re-run `build.py` under virtualenv
poetry run python build.py
Find the executable in dist/
directory.
- Introduce Poetry for dependency management.
- Rewrite build script with Python.
- Use GitHub Actions to build and release.
- Add
you-get
as git submodule. - Automatically append missing extractors to
src/you_get/extractors/__init__.py
when building. - Support Linux and macOS.
You-Get is originally distributed under the MIT license.