pytube: [BUG] pytube.exceptions.RegexMatchError: get_throttling_function_name: could not find match for multiple

I did this simple code for downloading videos:

`from pytube import YouTube

link = input("Link: ") yt = YouTube(link)

print("Title: ",yt.title) print("Number of views: ",yt.views) print("Length of video: ",yt.length) print("Rating of video: ",yt.rating)

ys = yt.streams.get_highest_resolution()

ys.download()`

But every time with every video I get the same error: image

I have this python version: image

And this Pytube version: image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 18 (1 by maintainers)

Most upvoted comments

You people never use the search feature before posting in a new issue ticket? This has been reported several times already.

Also, posting a screenshot of a terminal output is really not the way to do this. Copy and paste the text instead.