You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "main.py", line 45, in <module>
post()
File "main.py", line 24, in post
vidUrl,(songUrl,t) = prUtils.generate()
File "E:\bots\dancebot\prUtils.py", line 67, in generate
pytube.YouTube(q).streams.filter(file_extension='mp4').first().download(output_path="./assets",filename="tempdance")
File "E:\ProgramData\Anaconda3\lib\site-packages\pytube\__main__.py", line 91, in __init__
self.prefetch()
File "E:\ProgramData\Anaconda3\lib\site-packages\pytube\__main__.py", line 183, in prefetch
self.js_url = extract.js_url(self.watch_html)
File "E:\ProgramData\Anaconda3\lib\site-packages\pytube\extract.py", line 143, in js_url
base_js = get_ytplayer_config(html)["assets"]["js"]
File "E:\ProgramData\Anaconda3\lib\site-packages\pytube\extract.py", line 202, in get_ytplayer_config
raise RegexMatchError(caller="get_ytplayer_config", pattern="config_patterns")
Occasionally this RegexMatchError pops up while running my script. Didn't use to happen before, again, seems like a youtube change thing
The text was updated successfully, but these errors were encountered:
Occasionally this RegexMatchError pops up while running my script. Didn't use to happen before, again, seems like a youtube change thing
The text was updated successfully, but these errors were encountered: