How to sent http request to youtube stats server

Discussion in 'C, C++, C#' started by IZpk-A, Aug 28, 2016.

Tags:
  1. IZpk-A

    IZpk-A Registered Member

    Joined:
    Aug 28, 2016
    Messages:
    51
    Likes Received:
    8
    Gender:
    Male
    Hello guys, can someone show how make http request to youtube video stats server.
     
  2. daigia123

    daigia123 Regular Member

    Joined:
    Nov 24, 2010
    Messages:
    277
    Likes Received:
    36
    It means you want to send a request to a youtube video ?
    I dont know youtube video stats server
     
  3. IZpk-A

    IZpk-A Registered Member

    Joined:
    Aug 28, 2016
    Messages:
    51
    Likes Received:
    8
    Gender:
    Male
    Youtube video stats server are s.youtube
     
  4. SebWgnr

    SebWgnr Registered Member

    Joined:
    Apr 19, 2016
    Messages:
    75
    Likes Received:
    60
    I just checked in 2 minutes so I have no idea if this actually work and do update the stats for a video but here is the 2 requests:
    Code:
    GET /api/stats/watchtime?ns=yt&el=detailpage&cpn=55THP-FBiyz8gYbR&docid=KK9bwTlAvgo&ver=2&referrer=https%3A%2F%2Fwww.youtube.com%2Fresults%3Fsearch_query%3Dyoutube&cmt=8.464&plid=AAU7GsPncZPfgayG&ei=QXLCV9TeEoKNc6-Lq6gF&fmt=244&fs=0&rt=14.004&of=_yHdjssy_6ZYXLDSpB9XQA&euri&lact=148&cl=131234152&q=youtube&state=playing&vm=CAEQAA&c=WEB&cver=1.20160824&cplayer=UNIPLAYER&cbr=Chrome&cbrver=41.0.2227.0&cos=X11&hl=en_US&cr=FR&len=399.621&rtn=24&afmt=251&idpj=-7&ldpj=-34&rti=14&st=0.812&et=8.464 HTTP/1.1
    Host: s.youtube.com
    
    So it send a get request to: https://s.youtube.com/api/stats/watchtime with the following parameters:
    Code:
    ns:yt
    el:detailpage
    cpn:55THP-FBiyz8gYbR
    docid:KK9bwTlAvgo
    ver:2
    referrer:https://www.youtube.com/results?search_query=youtube
    cmt:8.464
    plid:AAU7GsPncZPfgayG
    ei:QXLCV9TeEoKNc6-Lq6gF
    fmt:244
    fs:0
    rt:14.004
    of:_yHdjssy_6ZYXLDSpB9XQA
    euri:
    lact:148
    cl:131234152
    q:youtube
    state:playing
    vm:CAEQAA
    c:WEB
    cver:1.20160824
    cplayer:UNIPLAYER
    cbr:Chrome
    cbrver:41.0.2227.0
    cos:X11
    hl:en_US
    cr:FR
    len:399.621
    rtn:24
    afmt:251
    idpj:-7
    ldpj:-34
    rti:14
    st:0.812
    et:8.464
    
    -----------
    Code:
    GET /api/stats/qoe?event=streamingstats&fmt=244&afmt=251&cpn=55THP-FBiyz8gYbR&ei=QXLCV9TeEoKNc6-Lq6gF&el=detailpage&docid=KK9bwTlAvgo&ns=yt&fexp=3300103%2C3300134%2C3313267%2C9422596%2C9428398%2C9431012%2C9433096%2C9433221%2C9433946%2C9435526%2C9438662%2C9439580%2C9442424%2C9442426%2C9442919&cl=131234152&html5=1&c=WEB&cver=1.20160824&cplayer=UNIPLAYER&cbr=Chrome&cbrver=41.0.2227.0&cos=X11&cmt=14.064:8.524,20.000:8.534018&vps=14.064:PA&bwm=20.000:1968668:1.289&bwe=20.000:1665546&bh=20.000:66.206&bat=20.000:1:0 HTTP/1.1
    Host: s.youtube.com
    
    So it send a get request to: https://s.youtube.com/api/stats/qoe with the following parameters:
    Code:
    event:streamingstats
    fmt:244
    afmt:251
    cpn:55THP-FBiyz8gYbR
    ei:QXLCV9TeEoKNc6-Lq6gF
    el:detailpage
    docid:KK9bwTlAvgo
    ns:yt
    fexp:3300103,3300134,3313267,9422596,9428398,9431012,9433096,9433221,9433946,9435526,9438662,9439580,9442424,9442426,9442919
    cl:131234152
    html5:1
    c:WEB
    cver:1.20160824
    cplayer:UNIPLAYER
    cbr:Chrome
    cbrver:41.0.2227.0
    cos:X11
    cmt:14.064:8.524,20.000:8.534018
    vps:14.064:PA
    bwm:20.000:1968668:1.289
    bwe:20.000:1665546
    bh:20.000:66.206
    bat:20.000:1:0
    

    Up to you to make sense out of that and test it.
     
  5. tb303

    tb303 Senior Member

    Joined:
    Dec 18, 2011
    Messages:
    940
    Likes Received:
    609
    Remember you are going to need to fake all of them params with legit info - but then you have the problem of using a valid plid. Just so you know this is a lot harder than it was a few years ago.
     
  6. ekapek

    ekapek Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 2, 2010
    Messages:
    293
    Likes Received:
    50
    Home Page:
    First what language you use. For c# you can use httpclient in 4.5 or simple webclient
     
    • Thanks Thanks x 1
  7. IZpk-A

    IZpk-A Registered Member

    Joined:
    Aug 28, 2016
    Messages:
    51
    Likes Received:
    8
    Gender:
    Male
    Thanks i have make a test but views deleted after 11-12 hour. Maybe s.youtube are not a right video stats server
     
  8. IZpk-A

    IZpk-A Registered Member

    Joined:
    Aug 28, 2016
    Messages:
    51
    Likes Received:
    8
    Gender:
    Male
    I use plid and others paramater exactly like that generate when play the video but views deleted..
     
  9. tb303

    tb303 Senior Member

    Joined:
    Dec 18, 2011
    Messages:
    940
    Likes Received:
    609
    Are you scraping or generating the plid?
     
  10. IZpk-A

    IZpk-A Registered Member

    Joined:
    Aug 28, 2016
    Messages:
    51
    Likes Received:
    8
    Gender:
    Male
    No scraping .
     
  11. Rock_Shock

    Rock_Shock Power Member

    Joined:
    Sep 11, 2016
    Messages:
    559
    Likes Received:
    91
    Occupation:
    Nothing
    Location:
    Nowhere

    Nice username you got there.. I see you are trying to use the spk method..

    Were you able to make headway with this ?

    I am working on a mobile views method and am willing to pay for insider info.. I will deal with the coding bit..that's not the issue.

    Just need the method and will do the rest myself !
    Would appreciate help sincerely :)
     
  12. IZpk-A

    IZpk-A Registered Member

    Joined:
    Aug 28, 2016
    Messages:
    51
    Likes Received:
    8
    Gender:
    Male
    I have a few method and make a lot of try and error. Sometime i can make views added aometime the views got deleted after 4~5 hour show in realtime state.

    If you can code, maybe we can have a private chat .

    Let me know what a best connection platform should i have with you

     
  13. longlijer

    longlijer Newbie

    Joined:
    Dec 2, 2016
    Messages:
    21
    Likes Received:
    4
    Gender:
    Female
    Anybody progress with this type of script? And is it still possible to increase views by sending POST requests with valid parameters to YouTube ?
     
  14. longlijer

    longlijer Newbie

    Joined:
    Dec 2, 2016
    Messages:
    21
    Likes Received:
    4
    Gender:
    Female
    Anybody?
     
  15. MarkWilson

    MarkWilson Jr. VIP Jr. VIP

    Joined:
    Mar 16, 2014
    Messages:
    125
    Likes Received:
    14
    I know it's an old topic but I have some info from 2 providers:
    - First one told me you need traffic
    - Second one told me you need pop UNDER traffic

    I think their methods is an updated version of this one, so there is the way to make this work.
    Basically I think that traffic (or pop under traffic) is used in order to trigger the youtube server's request with different IPs.
    Hope this can help !
     
    Last edited: Jun 20, 2017
  16. IZpk-A

    IZpk-A Registered Member

    Joined:
    Aug 28, 2016
    Messages:
    51
    Likes Received:
    8
    Gender:
    Male
    May you pm me what website that i can buy a POP UNDER traffic.

    I have completed this script but all test failed to make view count.
     
  17. u2u2u2

    u2u2u2 Regular Member

    Joined:
    Jan 15, 2017
    Messages:
    216
    Likes Received:
    30
    Gender:
    Male
    i think so ..you need traffic to make views legit . that explains why most views provider use embedd method
     
  18. u2u2u2

    u2u2u2 Regular Member

    Joined:
    Jan 15, 2017
    Messages:
    216
    Likes Received:
    30
    Gender:
    Male
    can you tell how you faked views using request. i can make requests using bot