SpK's View Methods - Part 1 - The 'mobile method' (and disguising as Facebook/Twitter)

Status
Not open for further replies.
After observing hundreds of real requests, I noticed that most PLIDS are 17 characters long (like the ones kindly generated by tb303 codes) but sometimes it gives 16 and even 15 characters PLIDS. Does it matter?

Does it make any difference if I use a real twitter (for ex) url on the &referrer=http%3A%2F%2Ft.co.... and also on the requestX.referer = "http://t.co........" ? Or a generic "http://www.twitter.com" would suffice on both cases?

The requestX.referer = "http://......" always comes from m.youtube.com according to Fiddler, so should I even bother trying a "twitter" ulr there?

I'm testing all possible variations until I get a solid result. Just don't want to waste time going in the wrong direction lol

There is a chance that a smaller PLID could appear :)
 
Ive heard off a few people that the reason this method isnt working is the way youtube makes the plid or rdm values has changed. So the information in the OP is incorrect. So i thought Id have a go at seeing how they are generated. And maybe validate my code as posted above is working correctly :)

On the m.youtube.com watch page...
this function...
Code:
function il(a, b)   
         {
         return a[Sa](36) + q[Ca](q[ib]() * b)[Sa](36)
         }
is called twice when you click play on the player.

Find it under 'scripts' on the chrome debugger (tools>>developer tools) and set a breakpoint.
You can then hover on the variables to get their value.

but if i understand it correctly and bearing in mind i dont know java lol, its something like...
'a' to string as base36 + (?math.floor.random? * 'b') to string as base36


the first time it comes in then a = the "build_id" number (when converted to base36 this is the static part of RDM
and b is 10000

so it appears to make the rdm from base36(build_id) with a random number 0 to 10000 as base36 on the end
however that means if the random number is less than 1296 you will not get 3 random chars on the end of the RDM.
Ive never seen this but then ive never checked that much as ive just gone on SPK's original post


the second time it calls that function...

a = time in milliseconds
i checked it... 1340813888505 was its milliseconds. Using that as timestamp my code returns "h3ylyxo9"
and the youtube code returned "h3ylyxo9" plus "2bzin1jkl"

so the first half of the plid is generated correctly

the second half it has b = 10000000000000 ("3jlxpt2ps" in base36)
so again if the random number is lower you will get a possibly much shorter plid being used

in short though i cant see why my code wouldnt produce a valid plid

but to be the same as the youtube java it can be changed to
Code:
plid = newBase36(Convert.ToInt64(timestampmilliseconds) + newBase36(Convert.ToInt64(rnd() * 10000000000000)

that is of course unless theres some wierd shit going on to hide the real numbers being generated.
try it yourself by setting a breakpoint on the function.


as a side note - to scrape the first part of rdm.
maybe this is obvious but if you "GET" this url
Code:
"http://m.youtube.com/watch?desktop_uri=%2Fwatch%3Fv%3D" + videoid + "&v=" + videoid + "&gl=US"

this example code will extract the build_id and convert to base36 giving you the static part of the RDM param
Code:
If returnedhtml.Contains("build_id\") = True Then
            'get the build id
            Dim working As String = returnedhtml.Substring(returnedhtml.IndexOf("build_id\") + 12, 30)
            working = working.Substring(0, working.IndexOf(","))
            Dim foundbaserdm As String = newBase36(Convert.ToInt64(working))
            'msgbox static part of rdm
            MsgBox(foundbaserdm, MsgBoxStyle.OkOnly, "rdm first part")
End If



So I think the information in this thread regarding the plid & rpm generation is correct. Maybe what now wrong is this...
izSpK said:
app=youtube_mobile
This is the main parameter in this method. By telling YouTube's statistic servers that you are a mobile phone, you bypass most security such as X views per IP per 24 hours, etc. It basically turns the filters off.

Of course this is based on my pretty much non knowledge of java so maybe someone will notice where its wrong ;)
 
Last edited:
I'm almost certain this view method is being overlooked in terms of difficulty to get working.. ;)
 
Nah, just working with the amount of info provided and putting all pieces together. At least we're trying :)
 
Is anybody encountering a problem with only 5 requests being sent from an array list? Like only 5 of the URL's in the array.
 
Has anyone actually got this working..??
If you have, then drop me a PM.. otherwise you'll just get bombarded publically announcing it..

Cheers
 
Here are my requests, just to start with:
http://www.uploadscreenshot.com/image/1143616/8619391

how do they look like?
 
Please tell me how to create this bot, i dont know which software to use for this. I am a newbie.
You need Mac. If you don't have it, sell your PC and get a Mac. Only way to create bot.
 
Status
Not open for further replies.
Back
Top