| English | 简体中文 |
You-Get Unofficial Build Executable
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 submit an issue. If you don't have a GitHub account, leave a message in this page. 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
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.7-3.9
According to the README of PyInstaller, the supported Python version is 3.5-3.9 now (Nov. 18th, 2020). To create a 32-bit executable, run PyInstaller under a 32-bit Python. -
PyInstaller
$ pip install pyinstaller
Get this repository
$ git clone https://github.com/LussacZheng/you-get.exe.git
Build for the first time
There are several batchfiles, just click them by the following order:
- Run
devscripts/init.bat
.
(It will clone the you-get repository bygit clone
. If you want to use proxy when cloning, editdevscripts/use-proxy.conf
according to the sample.) - After initialization, run
build.bat
. - Find the executable in
dist/
folder.
Build again if You-Get upgraded
To re-build after the new release of You-Get:
-
Make sure the scripts of this repository is up to date:
$ git pull
If You-Get modified the
src/you_get/extractors/__init__.py
and I have not followed up and submitted in time, you need to manually editrepository/_extractors/__init__.py
according to this . -
Run
devscripts/update.bat
.
(It also reads the proxy settings fromdevscripts/use-proxy.conf
) -
Run
build.bat
. -
Find the executable in
dist/
folder.
More Information
See more information in doc folder.
TODO
- Introduce Poetry for dependency management.
- Rewrite
build.bat
with Python. (maybe) - Use GitHub Action to build and release.
License
You-Get is originally distributed under the MIT license.