Coder Social home page Coder Social logo

pydown's Introduction

PyDown

A simple windows app to download YouTube videos

Libraries used

  • PyTube
  • PySimpleGUI
  • Cx_freeze

How to use (read further below if you wish to freeze it aka have it as an .exe)

Make sure you've installed PyTube and PySimpleGUI. Have PyDown.py and basicLogger.py in the same folder, run PyDown.py with Python 3.5.

How to use as an app

- First you should have installed the above mentioned libraries.

- From cmd (or command prompt) navigate to the folder where PyDown.py is.

Quick walkthrough: if you need to switch to another drive, use the drive letter followed by ":;". For example, to go to the E drive use "E:;" and move on from there. Then just use "cd" followed by the folder name/names. Or you can just copy the path from windows explorer and paste it after cd.

- Once you are in the folder from the command line, use the following command: python setup.py build

This will generate a "build" folder with the .exe file in there and all the required files in there.

- Make sure the file doesn't trigger a false-positive with your antivirus, otherwise some functionalities won't work because they rely on creating a folder or editing a file name.

Features

  • Download a complete playlist or mix from youtube. Playlists will be downloaded to a subfolder in the download directory. Either as Mp3 or Mp4. There's a tickbox.
  • Download a single video as Mp3 or Mp4. You can give a custom name to these single downloads. For now all videos are downloaded at the highest quality. Specially long videos may freeze the app.
  • Select download location.
  • Progress bar
  • Open download directory
  • View download history
  • Most events are logged into the console. Some exceptions are saved to a log file.

I'm aware this app has a few errors, but at this date of publishing it serves my needs. Comments and suggestions on how to fix something or how to improve it are much appreciated.

pydown's People

Contributors

mnfalcon avatar

Watchers

 avatar

pydown's Issues

variable referenced before assignment

There is currently an issue with PyTube, the library used to get the video. Currently, whenever trying to download a video, it simply throws the error that a variable is being referenced before assignment. That variable depends on an object created with PyTube from the URL. If the object isn't created, then the variable isn't assigned a value.
I had previous working versions stored as well on my computer and they don't work either.
Will be fixed as soon as I can.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.