This is a very annoying topic. The fix is in the branch a long time already, but the maintainer didn't publish a new release - and also doesn't seem to have such plans. it seems that the master branch is not stable enough right now because of a lack of quality control. (see https://github.com/ytdl-org/youtube-dl/issues/31585)
The attached patch will fix the issue by changing just one line.
This is a very annoying topic. The fix is in the branch a long time already, but the maintainer didn't publish a new release - and also doesn't seem to have such plans. it seems that the master branch is not stable enough right now because of a lack of quality control. (see https:/ /github. com/ytdl- org/youtube- dl/issues/ 31585)
The attached patch will fix the issue by changing just one line.