README.md

    原始项目

    https://github.com/MrS0m30n3/youtube-dl-gui,基于python2.7.3+,截图如下:
    image.png

    核心库 yt-dlg

    A cross platform front-end GUI of the popular youtube-dl media downloader written in wxPython. Supported sites

    Screenshots

    youtube-dl-gui main window

    Requirements

    Requirement for build Binaries/Executables

    Optionals

    Downloads

    Installation

    Install From Source

    • Download & extract the source
    • Change directory into yt-dlg-1.7.0
    • Create virtual environment
    make clean-requirements
    make venv
    • Activate virtual environment
    source venv/bin/activate
    • Install requirements, build translations and install
    make install

    Binaries

    Create binaries using PyInstaller

    • Create virtual environment
    make clean-requirements
    make venv
    • Activate virtual environment
    source venv/bin/activate
    • Install requirements, build translations and create binaries
    make pyinstaller

    Run yt-dlg

    • Activate virtual environment and run
    source venv/bin/activate
    yt-dlg

    Using pip3 on Debian 10:

    Install the following packages and their dependences:

    sudo apt-get install -y build-essential dpkg-dev \
                 libgtk-3-dev libjpeg-dev libtiff-dev \
                 libsdl2-dev libgstreamer-plugins-base1.0-dev \
                 libnotify-dev freeglut3 freeglut3-dev \
                 libsm-dev 

    Setting the virtual environment and activate

    sudo apt-get install -y python3-venv
    python3 -m pip install --upgrade pip setuptools wheel
    python3 -m venv venv
    source venv/bin/activate

    Install wxPython , requirements and yt-dlg

    See Notes for install wxPython on Ubuntu

    pip3 install wxPython-4.1.1-cp37-cp37m-linux_x86_64.whl
    pip3 install -r requirements/requirements.in
    pip3 install --no-deps yt-dlg
    yt-dlg 

    Comprobar wxPython 4

    python3 -c "import wx ; print(wx.__version__)"

    List and configure Locales

    locale -a
    sudo dpkg-reconfigure locales

    Notes

    An alternative to install wxPython 4 Phoenix from the Extras section

    For Ubuntu 20.04

    wget https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04/wxPython-4.1.0-cp38-cp38-linux_x86_64.whl
    pip3 install wxPython-4.1.0-cp38-cp38-linux_x86_64.whl 

    Contributing

    Authors

    See AUTHORS file

    License

    The Public Domain License

    Frequently Asked Questions

    See FAQs file

    Thanks

    Thanks to everyone who contributed to this project and to @philipzae for designing the new UI layout.

    项目简介