-
Notifications
You must be signed in to change notification settings - Fork 6
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
[BUG]AttributeError: 'NoneType' object has no attribute 'download' #12
Comments
out.zip |
Thank you so much! This will help so much! |
I'm still having some trouble with this, I downloaded the .mp4 and I'm trying to run the script. Do I just put the .mp4 file's name where the url went or do I need to change something in the .py file? I have no coding knowledge so sorry for the inconvenience. |
No worries, yea make sure to download it again or git pull to get the changes. Then you can simply relace the url with whatever the filename of the video is. If you execute from the same folder where the video is you can simply type the name. (in case it has some space or other special charcters you might need to provide the name like this: "video_name.mp4". |
Thanks! I'm still having the same problem though, whenever I try to run it it does this: C:\Users\multi>python youtube_midify.py video_file.mp4 I named my file video_file and then ran this: python youtube_midify.py video_file.mp4 I also made sure that the video was in the same folder as the other files. Thanks a ton for the help! |
Here
the yt = YouTube(url) is in line 121 which suggest you might have ran the old version somehow. This code should be in line 128 in the new version. Here you can see the old code with the line in 121 and the new code with the same line in 128. |
I figured it out, because of onedrive the script won't run if it's in my downloads folder, I have to move it to appdata. I still had the old version in appdata so i deleted that and put in the new one. Thank you for your time! appreciate the help! |
I am indeed on the latest version of pytube, I made sure about 100 times to make sure I was updated.
I was trying to use pytube for the midi converter youtubemidify and when I tried to boot it up for the first time I had the common "Get Throttling Error" I then fixed that and now I have this issue. I have absolutely no coding knowledge and I am just trying to use this to convert piano roll to midi. Someone who knows coding please help.
To Reproduce
The video or playlist url that is causing the error: https://www.youtube.com/watch?v=nzxEfWX8QSE
The issue is occurring in the pytube cipher.py file.
Expected behavior
I expected this to work as normally and for it all to work out..
Output
System information
I'm on Python 3.11.9
I'm on the latest version of pytube and all the requirements.
I installed all the requirements one by one manually and then downloaded the script and fixed some slight things and then tried to transcribe that video.
The text was updated successfully, but these errors were encountered: