Skip to content

Latest commit

 

History

History
100 lines (64 loc) · 3.08 KB

README.md

File metadata and controls

100 lines (64 loc) · 3.08 KB

| English | 简体中文 |

You-Get Unofficial Build Executable

platform GitHub release GitHub All Releases

Use PyInstaller to bundle You-Get into a single executable for Windows.

Get "you-get.exe"

Notice: This is NOT the official build.

Download the latest build executable from Releases Page.

Bugs

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

Developer Instructions

See below if you want to bundle and build by yourself.

Preparation

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.

  • Poetry

  • Git

Build for the first time

# 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.

Build again if You-Get upgraded

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.


TODO

  • 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.

License

You-Get is originally distributed under the MIT license.