Answer the question
In order to leave comments, you need to log in
Need to extract from this res. How to implement it?
stream = yt.streams.filter(only_video = True).order_by("resolution").last()
Answer the question
In order to leave comments, you need to log in
For example, you can split the string by spaces, then display the desired parameter
; there are regular expressions, the re module, you can write a template to search for the desired parameter in the string
This is omitted from the documentation, but if you look at the source , then instances of the Stream class have a resolution property.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question