Youtube Downloader by PyTube é uma ferramenta simples com interface gráfica e escrito em python para baixar vídeos e playlists do youtube...

Overview

YouTube Downloader by PyTube

Imagem

O que é o YouTube Downloader by PyTube?

YouTube Downloader by PyTube é um software simples para baixar vídeos no YouTube com a qualidade máxima. YouTube Downloader by PyTube usa a biblioteca pytube, uma lib riquíssima cheia de recursos para baixar vídeos e áudio no YouTube. YouTube Downloader by PyTube não usa todos os recursos do pytube, apenas baixa vídeos no youtube com a qualidade máxima e também, caso o usuário tenha o wget, baixa a capa do vídeo... A interface gráfica é gerada pela lib PySimpleGUI...

Como usar o YouTube Downloader by PyTube?

Primeiramente clone este repositório com o comando abaixo:

git clone https://github.com/elizeubarbosaabreu/Youtube-Downloader-by-PyTube.git

Se estiver usando o Linux ou MAC use os comandos abaixo para criar uma virtual env e instalar as dependências:

cd Youtube-Downloader-by-PyTube
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

No Windows use os comandos abaixo para criar uma virtual env e instalar as dependências:

cd Youtube-Downloader-by-PyTube
python -m venv .venv
source .venv\Scripts\activate.bat
pip install -r requirements.txt

Perceba que apareceu um .env antes do nome da máquina no terminal.

Teste o software:

python app.py

Caso esteja tudo ok, transforme o arquivo py em executável com o pyinstaller:

pyinstaller app.py

O executável estará em uma subpasta /dist/app com o nome app.exe ou com outra extensão a depender do sistema operacional. Copie a folder app com todo o conteúdo para o disco que quiser. Gere um atalho para o arquivo executável app.exe em seu interior...

Raspberry PI

No raspberry os após rodar todos os comandos acima inclusive o pyinstaller app.py (lembrando que o raspiberry roda Linux) use o comando em modo root para mover o executável para a pasta /opt:

sudo mv dist/app/ /opt/PyTube

Agora com alacarte (menu/Preferências/Main Menu Editor) crie um atalho para /opt/PyTube/app: Imagem

Pronto agora só fazer bom uso do software...

You might also like...
Youtube Downloader is a Graphic User Interface(GUI) that lets users download a Youtube Video or Audio through a URL
Youtube Downloader is a Graphic User Interface(GUI) that lets users download a Youtube Video or Audio through a URL

Youtube Downloader This Python and Tkinter based GUI allows users to directly download the Best Resolution Videos and Audios from Youtube. Pa-fy Insta

A Udemy downloader that can download DRM protected videos and non-DRM protected videos.
A Udemy downloader that can download DRM protected videos and non-DRM protected videos.

Udemy Downloader with DRM support NOTE This program is WIP, the code is provided as-is and i am not held resposible for any legal repercussions result

Download any video from YouTube playlists

youtube-dl Download any videos from YouTube playlists. Requirements Python 3 BeautifulSoup4 PyQt PyQtWebEngine pytube pyyoutube python-decouple Usage

Using Youtube downloader is the fast and easy way to download and save any YouTube video.
Using Youtube downloader is the fast and easy way to download and save any YouTube video.

Youtube video downloader using Django Using Django as a backend along with pytube module to create Youtbue Video Downloader. https://yt-videos-downloa

Youtube list to mp3 - Youtube list to mp3 downloader

Youtube list to mp3 downloader Tiny script to convert a list of youtube videos t

A simple Python program which uses youtube-dl for downloading YouTube videos as mp3 files.

yt-mp3 converter This is a simple Python program which uses youtube-dl for downloading YouTube videos as mp3 files. This program is for you if you are

Let's you download entire YT-playlists.
Let's you download entire YT-playlists.

Youtube MP3 Playlist Downloader Let's you download entire youtube playlists as mp3 files. This application is basically a script that makes it easier

Download songs and playlists from Spotify for free!
Download songs and playlists from Spotify for free!

spotify-to-mp3-converter You can basically understand the process with just this image but for clarity, these are the steps. Before using the exe down

Youtube Video Downloader Using Python Gui Appliction with progress Bar
Youtube Video Downloader Using Python Gui Appliction with progress Bar

Youtube-Video-Downloader Youtube Video Downloader Using Python Gui Appliction with progress Bar Module Used Pytube Tkinter Pil Urllib Bytes Io LICENSE

Comments
  • Suggest to loosen the dependency on pytube

    Suggest to loosen the dependency on pytube

    Hi, your project Youtube-Downloader-by-PyTube requires "pytube==11.0.1" in its dependency. After analyzing the source code, we found that the following versions of pytube can also be suitable without affecting your project, i.e., pytube 11.0.0, 11.0.2, 12.0.0. Therefore, we suggest to loosen the dependency on pytube from "pytube==11.0.1" to "pytube>=11.0.0,<=12.0.0" to avoid any possible conflict for importing more packages or for downstream projects that may use Youtube-Downloader-by-PyTube.

    May I pull a request to further loosen the dependency on pytube?

    By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?



    We also give our detailed analysis as follows for your reference:

    Your project Youtube-Downloader-by-PyTube directly uses 1 APIs from package pytube.

    pytube.__main__.YouTube.__init__
    
    

    Beginning from the 1 APIs above, 9 functions are then indirectly called, including 5 pytube's internal APIs and 4 outsider APIs. The specific call graph is listed as follows (neglecting some repeated function occurrences).

    [/elizeubarbosaabreu/Youtube-Downloader-by-PyTube]
    +--pytube.__main__.YouTube.__init__
    |      +--pytube.extract.video_id
    |      |      +--pytube.helpers.regex_search
    |      |      |      +--re.compile
    |      |      |      +--pytube.exceptions.RegexMatchError.__init__
    |      +--pytube.monostate.Monostate.__init__
    |      +--pytube.helpers.install_proxy
    |      |      +--urllib.request.ProxyHandler
    |      |      +--urllib.request.build_opener
    |      |      +--urllib.request.install_opener
    

    We scan pytube's versions and observe that during its evolution between any version from [11.0.0, 11.0.2, 12.0.0] and 11.0.1, the changing functions (diffs being listed below) have none intersection with any function or API we mentioned above (either directly or indirectly called by this project).

    diff: 11.0.1(original) 11.0.0
    ['pytube.cipher.get_throttling_function_name', 'pytube.__main__.YouTube', 'pytube.contrib.playlist.Playlist.last_updated', 'pytube.contrib.search.Search', 'pytube.contrib.search.Search.__init__', 'pytube.contrib.playlist.Playlist']
    
    diff: 11.0.1(original) 11.0.2
    ['pytube.parser.throttling_array_split']
    
    diff: 11.0.1(original) 12.0.0
    ['pytube.__main__.YouTube', 'pytube.parser.throttling_array_split', 'pytube.__main__.YouTube.__eq__', 'pytube.cipher.get_throttling_function_name']
    
    

    As for other packages, the APIs of urllib and re are called by pytube in the call graph and the dependencies on these packages also stay the same in our suggested versions, thus avoiding any outside conflict.

    Therefore, we believe that it is quite safe to loose your dependency on pytube from "pytube==11.0.1" to "pytube>=11.0.0,<=12.0.0". This will improve the applicability of Youtube-Downloader-by-PyTube and reduce the possibility of any further dependency conflict with other projects.

    opened by Agnes-U 0
  • wget error on Winders

    wget error on Winders

    I tried running the program on my Windows10 machine and I got this error:

    'wget' is not recognized as an internal or external command,
    operable program or batch file.
    

    It did download the file though!

    image

    Very nice!

    When I saw your posted on LinkedIn and saw you used pytube, it reminded me that I released a downloader a year or two ago that used pytube. I had completely forgotten about it.

    This is the one in the PySimpleG UIaccount... https://github.com/PySimpleGUI/YTDownloader

    That's a fork from another repo.

    Your code and mine ended with downloading identical files.

    opened by PySimpleGUI 2
Owner
Elizeu Barbosa Abreu
A vida é feita de aprendizados e constantes evoluções. No momento que você está lendo isso, se eu não estiver fazendo algo, estarei aprendendo alguma coisa...
Elizeu Barbosa Abreu
Tkinter based YouTube video downloader works on pytube 11.0.2. Can download YouTube videos in 720p(HD), 144p and even only audio.

YouTube-Downloader Tkinter based YouTube video downloader works on pytube 11.0.2. Can download YouTube videos in 720p(HD), 144p and even only audio. G

Manav Grover 2 Dec 27, 2021
Um projeto modesto para baixar vídeos do youtube usando tkinter como gui

Youtube Downloader Um projeto modesto para baixar vídeos do youtube usando tkinter como gui Instalação dos requirements: python3 setup.py ou python se

Sunlyx 2 Nov 25, 2021
A standalone pytube wrapper for downloading individual videos from YouTube.

pytube-runner This is a Python CLI script for downloading individual videos from YouTube. The pytube project is the core of this runner, so naturally

Shiva 2 Jun 21, 2022
Python-Youtube-Downloader - An Open Source Python Youtube Downloader

Python-Youtube-Downloader Hello There This Is An Open Source Python Youtube Down

Flex Tools 3 Jun 14, 2022
Youtube-downloader-using-Python - Youtube downloader using Python

Youtube-downloader-using-Python Hii guys !! Fancy to see here Welcome! built by

Lakshmi Deepak 2 Jun 9, 2022
YouTube-Downloader - YouTube Video Downloader made using python

YouTube-Downloader YouTube Videos Downloder made using python.

Shivam 1 Jan 16, 2022
Youtube Downloader is a simple but highly efficient Youtube Video Downloader, made completly using Python

Youtube Downloader is a simple but highly efficient Youtube Video Downloader, made completly using Python

Arsh 2 Nov 26, 2022
YouTube-Video-Downloader - Download Youtube Videos for free.

YouTube-Video-Downloader Download Youtube Videos for free. Installing Dependencies:- Windows pip install pytube Mac/Linux pip3 install pytube Clonin

Xception Inc. 1 Jan 1, 2022
PyQt5 simple files , youtube videos and youtube playlist downloader

PyQt5 simple files , youtube videos and youtube playlist downloader

AmirHossein Mohammadi 7 Jul 25, 2022
Pytube ve tkinter kütüphanesi ile yapmış olduğum basit ve temel bir youtube video indirme programı.

PyTube Pytube ve tkinter kütüphanesi ile yapmış olduğum basit ve temel bir youtube video indirme programı. Videolar 720p çözünürlükte indirilmektedir.

null 1 Nov 12, 2021