Questions tagged [pytube]
For issues relating to the pytube Python library.
pytube
532
questions
0
votes
0
answers
87
views
PyTube raises an exception when I access streams
(I'm on macos and I use python3.12)
I was just starting to try Pytube but got error when I tried to access streams:
Traceback (most recent call last):
File "/Volumes/Programmation/Python/...
0
votes
2
answers
621
views
RegexMatchError: get_throttling_function_name: could not find match for multiple v=15.0.0
I cannot use the video download feature via pytube
The code I ran yesterday is not working today. How can I fix the error for pytube 15.0.0?
def video_indir(video_url, dosya_adi):
video = pytube....
2
votes
0
answers
60
views
Google Cloud Function slow download speed (Gen 2 Cloud Run)
I have written a gen 2 cloud function with which downloads a large YouTube video at 1080p. Because of this, it downloads the video and audio separately. I have maximized the resources devoted to the ...
0
votes
0
answers
111
views
How to play a YouTube video via url in tkinter?
I'm trying to play a video from YouTube url in customTKinter.
The only solution i find by now using embedded youtube link is this:
import customtkinter
from tkinterweb import HtmlFrame # Import ...
-2
votes
0
answers
219
views
Pytube downloading only 360p resolution
When downloading video content, the program does not detect and download any other resolution than 360p.
from pytube import YouTube, Playlist
from pytube.cli import on_progress
from moviepy.editor ...
1
vote
1
answer
109
views
PyTube not downloading correct quality audio file
When I first wrote this code it worked fine and would download me the 160kbps OPUS WEBM file for the URL selected but now for some reason will only download lower a quality than asked for and I can't ...
0
votes
1
answer
55
views
Why am I getting an AttributeError for download?
I'm getting an attribute error for this line(Line 15).
videoStream.download(download_Folder)
when i try to run the code i get "AttributeError: 'function' object has no attribute 'download'".
...
0
votes
0
answers
97
views
My .py file works perfectly, but when I turn it to .exe it fails
I'm trying to code an app that lets you download many videos (or audios) from Youtube at the same time using Python, specifically the libraries tkinter and pytube. When I run it as a .py file, ...
1
vote
1
answer
102
views
Streaming audio content from YouTube to Discord
I'm developing a Discord bot using discord.py, and as part of that bot I am tasked with creating music functionality. I have actually done that, and the bot will play songs using the pytube module. It ...
0
votes
1
answer
49
views
AttributeError when filtering streams in Pytube
I'm trying to use the pytube library to download YouTube videos. However, I'm encountering an error when trying to filter the streams. Here is the code I'm using (just the necessary part of it):
from ...
0
votes
1
answer
78
views
How to fix my CustomTkinter YT downloader .exe file
I made a small project using CustomTkinter and Pytube to download YouTube videos with a simple GUI.
The program has zero errors when run as a .py file in the IDE and Windows if I double-click or use ...
2
votes
1
answer
55
views
Everything seems to work on its own, but when I put it together it throws RegexMatchError
I am making a program to download music to my PC, it goes straight into download folder. I made the code for python and when I run it, for some reason pytube throws RegexMatchError, however when I ...
-1
votes
2
answers
215
views
Pytube: Can't download certain resolutions
Im doing a script to download video and audio from youtube, for now, im having a problem with my video download script, there it is:
def VideoDownload_mp4(url, res):
try:
yt = pytube....
0
votes
0
answers
44
views
pyTube - Downloaded files are not accessible
I've run into a lot of issues with the pyTube package but there have been lots of well documented solutions for the main issues, however I'm not even able to find a reference to this issue.
Both the ...
1
vote
1
answer
444
views
urllib.error.HTTPError: HTTP Error 400: Bad Request - Pytube
My pytube downloader program suddenly stopped working recently and returning this error:
Traceback (most recent call last):
File "C:\Users\winte\Music\{Python#playlister}.py", line 191, in ...