Closed NannoSilver closed 8 months ago
One more information...
I tried the download with different IPs, and I am getting the fake audio by random. Seems Youtube is detecting the request is coming Pytubefix (?)
I encountered the same issue today, and the video title I got was "Video Not Available." I had to switch through several IP addresses before I could successfully download it.
I tried pytube and it works fine, but the caption feature of pytube has been problematic. So for now, I'm using pytube to download videos and audios, while using pytubefix to download captions.
try pip install pytubefix==3.0rc1
Apparently YouTube has started randomly testing a new request requirement. In my tests it seems to be something related to 'params': 'CgIQBg'
, see here.
YouTube is returning an error video:
This has been reported several times, the latest solution was found here.
I tested several types of videos, and so far no exceptions have been returned.
try pip install pytubefix==3.0rc1
I am running version 3.0rc1 for a few hours and seems it works properly.
While downloading around 200 audio files, I got only one single Exception
error. Likely related to something else.
Tomorrow I will install the 3.0.0 final release.
Thank you for the quick fix, @JuanBindez !
I am running pytubefix 2.1.1.
Since 27/APR/2024 Youtube is sending by random fake information regarding the video duration and fake audio when the download is requested.
The fake video duration is reported by Youtube as 5:00 (5 minutes). And the fake audio (downloaded with itag = 140) has 5 minutes of silence.
The used code is similar to this:
Anybody else with this issue?