Sniff youtube video length

ldg2002

Registered Member
Joined
Jun 5, 2012
Messages
66
Reaction score
6
Ehy guys, i'm working on my views bot, i'm on c#, theres any way to sniff the length of a video maybe through a webbrowser control (without third party software like fiddler)?
Thank you guys!
 
I know there is a way, I have a scraper that does it. No idea of the code though.
 
I know there is a way, I have a scraper that does it. No idea of the code though.
I know it's a difficult thing to achieve, but if I can't, every time I have to use a program like fiddler to see the length of the video. if you look up gdata.youtube I can find the length in seconds, but is unhelpful.
 
I know it's a difficult thing to achieve, but if I can't, every time I have to use a program like fiddler to see the length of the video. if you look up gdata.youtube I can find the length in seconds, but is unhelpful.

If you're trying to do the HTML5 mobile views, give up now because you'll get 1-100 views and then be upset because you've spent ages on a bot.
 
If you're trying to do the HTML5 mobile views, give up now because you'll get 1-100 views and then be upset because you've spent ages on a bot.
thanks willo556, but for now I can get 600/800 views on a video per day, with public proxies, tomorrow I'll buy 500/1000 private proxies.
if i can get 600/800 with about 50 elite public proxies, i think that with 500/1000 private proxies i can get much more. thanks anyway
 
this is an example
1.PNG2.PNG
 
wow there are better methods you know, damn wasting so much money on private proxies :D
hey! I tried to find an alternative to elite proxies but nothing to do, are the only ones that work, the problem is that they are very small amounts and most of them come from China (75% / 90%), checking the statistics no view comes from china. I tried the socks proxies but also nothing to do. if you have any advice I I listen to it with pleasure! :D thank you!
 
wow - are you waiting the video length for it to get counted as a view ?

thanks
 
i believe the videofiles metadata contains the proper length (with decimals). been a while though
 
what do you need decimals for if its presented in seconds? ie. 181
 
unfortunately is not enough the length in seconds, we need the length with three decimal places, in this case representing the milliseconds
 
I tried to do an experiment.
if I take the header of the video, for example: "**** :/ / oo---preferred---mil01s10---v24---lscache8.c.youtube.com/videoplayback? upn = *** etc. ** ... "I find that "Content-Length: 5398765"
if divide this value by the number of seconds in a day, ie 60 * 60 * 24 = 86400 the result is 62.48 *******
in the request s.youtube.com I discover the value len = 61.1
I tried to divide the bytes by 1024 and then the calculation becomes 5398765/1024 = 5272.2314453125 / 8.6400 = 61.0211972837095
close but not quite ...
 
what do you need decimals for if its presented in seconds? ie. 181

Miliseconds is important... and when editing videos can go into more accurate numbers that go past miliseconds...
 
I tried to do an experiment.
if I take the header of the video, for example: "**** :/ / oo---preferred---mil01s10---v24---lscache8.c.youtube.com/videoplayback? upn = *** etc. ** ... "I find that "Content-Length: 5398765"
if divide this value by the number of seconds in a day, ie 60 * 60 * 24 = 86400 the result is 62.48 *******
in the request s.youtube.com I discover the value len = 61.1
I tried to divide the bytes by 1024 and then the calculation becomes 5398765/1024 = 5272.2314453125 / 8.6400 = 61.0211972837095
close but not quite ...

thats not the header of the video file, that's the header of the http server response :P
 
Back
Top