python - 如何解决这个问题?pytube.exceptions.RegexMatchError: get_ytplayer_config: 找不到匹配的 config_patterns
问题描述
当我尝试使用 pytube 下载视频时,出现此错误。我正在使用 pytube 的 letest 版本。
raise RegexMatchError(caller="get_ytplayer_config",
pattern="config_patterns")
pytube.exceptions.RegexMatchError:
get_ytplayer_config: could not find match for config_patterns
解决方案
您可能正在运行旧版本的 pytube。运行这些命令,它们可能会解决您的问题:
python -m pip uninstall pytube pytube3 pytubex
python -m pip install git+https://github.com/nficano/pytube
推荐阅读
- list - 如何在机器人框架中将全局变量或套件变量作为列表?
- python - 使用 Pandas 将两个字符串行合并为一个
- reactjs - 我想在我的项目中实现材料 ui 轮播
- mysql -
从 MySQL 工作台获取数据时 - html - 手机(iphone)查看问题
- kotlin - asp.net core api从kotlin获取空值
- javascript - 迭代数据,包括盖茨比中的图像
- visual-studio-code - 带有 WSL2 的 VSCode - 由于对 ping 没有响应而延迟启动
- azure - 消费者帐户的 Azure AD B2C 外部身份
- c# - 如何在 C# 9 中使用记录作为元组参数