Answer the question
In order to leave comments, you need to log in
How Youtube sends view data, how to parse it?
I wanted to parse the number of views, not how.
I went through all the requests, I thought it reads json, like in textbooks, but I didn’t find anything, well, there’s also no information in the source code of the page, at least Ctrl-F doesn’t find the same number as on views. Yes, where are the numbers coming from?
Answer the question
In order to leave comments, you need to log in
YouTube has an API, it should give views there.
The source code has:
"viewCount":{"videoViewCountRenderer":{"viewCount":{"simpleText":"21 views"},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question