Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
112 views

Pytube consistently fails with HTTP Error 400: Bad Request also on latest version

I am trying to use pytube (v15.0.0) to fetch the titles of YouTube videos. However, for every video I try, my script fails with the same error: HTTP Error 400: Bad Request. I have already updated ...
Rohit Hake's user avatar
1 vote
1 answer
120 views

I am having a urllib.error.HTTPError: HTTP Error 400: Bad Request when using the YoutubeVideoSearchTool in CrewAI for Python

I am having a urllib.error.HTTPError: HTTP Error 400: Bad Request error when using the YoutubeVideoSearchTool tool in my crew built with CrewAI for Python. I followed the documentation and this is my ...
Daniel Erazo's user avatar
1 vote
1 answer
80 views

pytube taking weird amount of time

So when I run Pytube inside the script, it takes 30 seconds to finish, but when I run it in a function, it only takes 0.96 seconds to finish. Why is that? Can someone explain it in simple terms ...
foxdrt's user avatar
  • 13
0 votes
1 answer
115 views

Error when trying to import pytube into a project even though pytube is installed

Using Python 3.13.2 and pytube 15.0.0 When I try to run a program that has from pytube import YouTube I get the following error: will.air@Mac python % python3 main.py ../test_text_files/tests.txt ...
Will's user avatar
  • 1
-1 votes
2 answers
149 views

i don't get video title using pytube

from pytube import YouTube link = input("Enter the video link here ->") y_tube = YouTube(link) print(y_tube.title) Output: Enter the video link here ->https://youtu.be/rkR4sFODnIM?...
Anushka kumari's user avatar
0 votes
0 answers
119 views

Pytube will not use the function .streams.filter(())

so pulled this youtube audio file down loader off the internet and it was working great one day and then all of a sudden for some reason it does not like the function \line where the streaming of the ...
Michael Beckley-Gray's user avatar
0 votes
1 answer
182 views

Getting detailed info from playlist using pytube

I'm trying to use pytube to get details about each video in a playlist. The API docs show how to download videos from the playlist here, but not how to get info from them. Since each video is a ...
TCombu's user avatar
  • 5
0 votes
0 answers
356 views

Pytube (Pytubefix) does not get all songs from YouTube-Music playlist

I have written a small programm in python to download playlists from youtube music using pytubefix. But when downloading a playlist, some songs are skipped. For testing, I only got the relevant code ...
Brrrrrr's user avatar
12 votes
3 answers
14k views

Pytube throws http error 403 Forbidden since a few days

I am on Python 3.12 and use Pytube 15.0.0 and have written a small charts downloader. Until a few days ago everything worked fine, but now YouTube must have changed something and I get the http error ...
Chaos Klaus's user avatar
0 votes
0 answers
116 views

How to get Pytubefix to work on ec2 instance?

I have setup an EC2 instance and I am running this code try: yt = YouTube(video_url, on_progress_callback=on_progress) transcript = yt.captions['a.en'].generate_srt_captions() ...
Slim Downing's user avatar
2 votes
1 answer
2k views

pytube oauth/po token bypass or automation

Im trying to make a program that has a part where it downloads an audio stream of a Youtube video using pytube (or pytubefix). The problem however is that it now requires either oauth or PO token ...
Tim's user avatar
  • 21
1 vote
0 answers
118 views

Streamlit: AI Response Only Displays After Timer Timeout, Not on Button Click

I'm building a Streamlit app that interacts with YouTube videos using pytube to fetch audio and transcribe it. The problem I'm encountering is that the AI response (transcription result) is displayed ...
user1288617's user avatar
0 votes
0 answers
173 views

Getting Error: 400 when deploying on Streamlit

I am trying to make a website using python and streamlit which can convert Youtube video link to Audio file and user can download it. The code is running fine on localhost but when I am deploying it I ...
Tejas18's user avatar
0 votes
0 answers
701 views

Pytubefix Issue: Handling β€˜Login Required’ on AWS EC2 Deployed Applications

I was running an application that requires the PytubeFix library to extract content from YouTube videos. It runs locally without any problems, but when I deploy it, it doesn’t work. On the server, it ...
Suboda's user avatar
  • 1
0 votes
1 answer
118 views

Pytube program gives neither output nor error

I've been running a pytube program to download a playlist audio, but unfortunately its behavior is incomprehensible. After I run it, the program takes too long time to do such a simple task, and it ...

15 30 50 per page
1
2 3 4 5
…
36