Skip to content
Advertisement

How to fix this? pytube.exceptions.RegexMatchError: get_ytplayer_config: could not find match for config_patterns

When I’m trying to download videos using pytube I’m getting this error. I’m using the latest version of pytube:

JavaScript

Advertisement

Answer

You might be running an old version of pytube. Run these commands, they might fix your problem:

JavaScript
Advertisement