GithubHelp home page GithubHelp logo

albertsolomon / tubepy Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 11.0 3.08 MB

youtube video downloader in python ๐Ÿ˜Ž

License: MIT License

Python 85.72% Inno Setup 11.60% Dockerfile 2.58% Shell 0.10%
python

tubepy's Introduction

I'm Albert Solomon Phiri / The IT Howler.

A passionate Full Stack Software Engineer who thrives at solving problems

โšก STATS โšก

Albert Solomon Github Stats Albert's Top Languages
circles
Godot Neovim Android Studio vs code AWS fedora Linux

tubepy's People

Contributors

albertsolomon avatar dependabot[bot] avatar jdrysdaleandesrson avatar riapz avatar sjorza avatar sjpbp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tubepy's Issues

Entry Widget does not Automatically Fetch Info After Pasting Link

When a user pastes a link into the entry widget, the widget is supposed to automatically fetch the relevant information, such as the title, audio frequencies, video resolutions and description of the link. This issue is particularly frustrating for users who regularly paste links and rely on the automatic fetching of information to speed up their workflow. This enhancement will ensure a seamless user experience.

AttributeError: 'str' object has no attribute 'focus_set'

line 570, in <lambda> app.bind("<1>", lambda event: event.widget.focus_set())
AttributeError: 'str' object has no attribute 'focus_set'

This error occurs when switching between pages, its also a breaking change because it prevents hot reload during development, but does not crash the application.

Application Error: TclError When Closing the Application

When attempting to close the application, a TclError is thrown, displaying the message "can't invoke 'frame' command: application has been destroyed." This error may occur due to the application not properly deallocating the resources it uses, causing issues with the "frame" command when closing the application. Users may be unable to close the application without encountering the error message. The application should be updated to properly deallocate its resources before closing to prevent the TclError from occurring. This is how the error looks like:

Python\Python310\lib\tkinter\__init__.py", line 2601, in __init__
    self.tk.call(
_tkinter.TclError: can't invoke "frame" command: application has been destroyed
Error occurred at line: 678

YouTube Video/Playlist Info Not Displayed When Switching Pages โ„น๏ธ

The current implementation of the application does not display YouTube video or playlist information when a user switches back and forth between pages while a video is downloading. This can be frustrating for the user, as they may want to view the information while the download is in progress.

๐Ÿš€ Solution: One possible solution to this issue is to store the YouTube video or playlist information in a global variable or cache, so that it can be accessed and displayed on any page at any time. This would provide a more consistent and informative user experience, and help to prevent frustration.

Download Location Button Becomes Unresponsive After First Click

The "Change Download Location" button on the download page becomes unresponsive after the first click, and the button needs to be reset by switching to the home page or about page. This issue makes it difficult for users who need to change their download location multiple times, as they have to keep navigating away from the download page to reset the button.

Documentation

Not all the functions have been properly documented. This is up for grabs.

Insufficient User Feedback During Playlist Download

Currently, there is insufficient user feedback during the playlist download process. While a recent fix has addressed part of the issue, the user is still not being properly informed in the UI about what's going on during the download process. This creates a suboptimal user experience, as the user may be left confused or uncertain about the progress of the download. To improve the user experience, it's recommended that additional feedback mechanisms be implemented in the UI to keep the user informed and engaged during the download process.

Progress Bar Not Hiding After Download Completion

The progress bar on the download page is not hiding after the download is completed. Once the download is finished, the progress bar remains visible, which can be confusing for users and may cause them to think that the download is still in progress. This issue is particularly problematic for users who download large files, as the progress bar may stay visible for a long time after the download is finished. The progress bar should disappear automatically once the download is complete to provide a clear indication that the process is finished.

Download Gets Cancelled/Stopped When User Switches Pages

When a user initiates a download and then switches to a different page, the download gets cancelled or stopped. This issue disrupts the download process, and users may need to restart the download from the beginning. This issue can be frustrating for users who have slow internet connections or who need to download large files, as it can take a long time to restart the download process. The download process should continue in the background even if the user switches pages to ensure that the download is not interrupted.

Download isn't working for Youtube Shorts

If you want to download to a Youtube Short, Tubepy raises an error: The url you have provided is not valid. Please verify it and try again.

Lang.py contains a definiton validate_youtube_url, but setup.py doesn't contain this definition.

**Warning**

Warning
Pytube often encounters compatibility issues due to YouTube's frequent updates. Regrettably, the Pytube library has some maintenance challenges, leading to delays in resolving these issues. Consequently, we are exploring the possibility of integrating youtube-dl as an alternative solution. Nevertheless, please don't hesitate to report any problems here or engage in discussions here. Your input is valuable to us or else you can refer or follow pytube issue 1786.

Downloading playlists.

Users should be able to download YouTube playlists, it would be a very nice feature to add to the application .

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.