protonuniverse / you-get.exe

You-Get unofficial build executable for Windows || You-Get 非官方构建的可执行文件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

  2. PyInstaller

    $ pip install pyinstaller
  3. Git

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:

  1. Run devscripts/init.bat .
    (It will clone the you-get repository by git clone . If you want to use proxy when cloning, edit devscripts/use-proxy.conf according to the sample.)
  2. After initialization, run build.bat .
  3. Find the executable in dist/ folder.

Build again if You-Get upgraded

To re-build after the new release of You-Get:

  1. 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 edit repository/_extractors/__init__.py according to this .

  2. Run devscripts/update.bat .
    (It also reads the proxy settings from devscripts/use-proxy.conf )

  3. Run build.bat.

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

About

You-Get unofficial build executable for Windows || You-Get 非官方构建的可执行文件


Languages

Language:Batchfile 76.9%Language:Python 23.1%