Skip to content

Fix download audio #323 #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Anjali-Shridhar-Shetty
Copy link

Fixes #323

Type of change

Bug fix (non-breaking change which fixes an issue)
Documentation Update

  1. pytube: The official pytube package frequently breaks due to changes on YouTube's side. To address this, I replaced it with pytubefix, a maintained fork that resolves these issues and is a drop-in replacement.

  2. moviepy.editor: Importing moviepy.editor raised a ModuleNotFoundError in environments using newer versions of MoviePy. This is likely due to changes in the structure of the MoviePy package introduced in versions 1.0.3 and above, where some modules (including moviepy.editor) have been restructured or removed. These changes can cause compatibility issues in environments using updated MoviePy versions.

Changes Made

  • Replaced:
    import pytube
    with:
    import pytubefix as pytube

  • Updated:
    from moviepy.editor import *
    to:
    from moviepy import *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Download Audio Project Not Working
1 participant