1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating a youtube view bot. How do I avoid detection?

Discussion in 'General Scripting Chat' started by uchiha.jain, May 3, 2016.

  1. uchiha.jain

    uchiha.jain Jr. VIP Jr. VIP

    Joined:
    Sep 14, 2009
    Messages:
    253
    Likes Received:
    62
    Gender:
    Male
    Hi, I'm creating a youtube view bot for a client.
    The current plan is to use a headless browser like Phantomjs to open the video in a few tabs and close them once the playback is complete. For each tab:
    - Use a random useragent string from a list
    - Use a random proxy from a list
    - Change the machine's mac address

    Are there other things I should take into consideration to avoid any detection by Youtube?
     
  2. meowking

    meowking Newbie

    Joined:
    May 9, 2016
    Messages:
    5
    Likes Received:
    0
    I think your on to something. But I wonder whether an adjustable delay or a randomized delay would be another thing youtube looks at. If its always the same delay, every view, might raise a flag.

    How are you building this?
     
  3. cloaking

    cloaking Registered Member

    Joined:
    Aug 21, 2015
    Messages:
    94
    Likes Received:
    31
    Changing the machine's MAC address seems excessive. Websites simply can't capture it.

    If you're worried about one of Google's client applications (ie. Chrome) capturing this data, relaying it to their servers and somehow associating it with you - just don't install their products on the machine.

    Here's a few other things you missed:
    • Clearing the cookies each time before the video is loaded
    • Whether a lot of views from only non-registered accounts eventually flags the video
    I would test each element in isolation on a new video - ie. user agent, IP address, cookies - to see whether keeping it static still increases the view counts. That will help you narrow down where to focus.
     
  4. uchiha.jain

    uchiha.jain Jr. VIP Jr. VIP

    Joined:
    Sep 14, 2009
    Messages:
    253
    Likes Received:
    62
    Gender:
    Male
    Hey guys, sorry I haven't been on BHW for a while. Been working on another project.

    @meowking: I tried varying view length from 1 sec to 2 mins. It seems Youtube counts the view regardless of play time. But eventually the video gets flagged and view count stops increasing. I'm using nodejs and selenium for bot.

    @cloaking: You are right about most things. I wish I'd read your reply sooner :(.
    Changing MAC address is useless, yes. Among other factors IP address seems to directly affect the view counts the most. Other factors might have more effect in flagging. I'll do some more testing.
    The tool currently does the following
    - Create new firefox profile for each view. So cookies and LSOs are taken care of.
    - Use a random useragent
    - stormproxies.com for rotating proxies

    Here's what I plan to do next:
    - Flash cookies are stored somewhere in Appdata. Nuke them.
    - Open a referring url first and click the link to youtube video. Exit by clicking link in description or another video.
    - Use some logged in accounts to add some comments and like/dislikes.
    - Implement distribution of useragents.

    Hopefully that should do the trick.

    Thanks for the advice so far. Will keep you guys updated.
     
    • Thanks Thanks x 2
  5. sohom

    sohom Senior Member

    Joined:
    May 26, 2013
    Messages:
    990
    Likes Received:
    175
    Location:
    not in Past
    very good found
    are they offering a python api?

    btw
    best wishes for your app :)
     
  6. uchiha.jain

    uchiha.jain Jr. VIP Jr. VIP

    Joined:
    Sep 14, 2009
    Messages:
    253
    Likes Received:
    62
    Gender:
    Male
    Hey Sohom, Sorry I missed the email notification again.
    In case you are not using stormproxies already: There shouldn't be a need for API. You only have to use their ip:port proxy and they take care of rotation at their end.

    I'm also parallely working on a FB bot. Currently stuck at gmail + facebook registration (both asking for phone verification as soon as account is created). I'm currently testing whether it's an issue with the browser (squeaky clean window) or with the way the forms are filled. Should give a clue on how to proceed. Will update in a few hours.
     
  7. mrtwig32

    mrtwig32 Newbie

    Joined:
    Apr 6, 2015
    Messages:
    19
    Likes Received:
    6
    Gender:
    Male
    Occupation:
    YouTube video promotion
    Location:
    Croatia
    I think even if you successfully avoid phone verification as soon as account is created, Facebook will roadblock it so you won't be able to log in to that account in the future until you make a phone verification.
     
  8. uchiha.jain

    uchiha.jain Jr. VIP Jr. VIP

    Joined:
    Sep 14, 2009
    Messages:
    253
    Likes Received:
    62
    Gender:
    Male
    I faced exactly this issue when I bought some accounts for testing. It was heavily mitigated by storing cookies so you don't have to login everytime.
    My current problem is how to register so that facebook/gmail don't ask for phone verification. If that works, even regular attrition shouldn't be too much of an issue since you could replace the accounts at no cost.
     
  9. snurper

    snurper Regular Member

    Joined:
    Feb 5, 2012
    Messages:
    203
    Likes Received:
    25
    Good luck dude, sounds like you could be onto something.
     
  10. mrtwig32

    mrtwig32 Newbie

    Joined:
    Apr 6, 2015
    Messages:
    19
    Likes Received:
    6
    Gender:
    Male
    Occupation:
    YouTube video promotion
    Location:
    Croatia
    what about creating an account on FB by using Firefox mobile useragent so it looks like you are creating an account from you phone?
     
  11. PickAWriter

    PickAWriter Newbie

    Joined:
    Aug 16, 2016
    Messages:
    24
    Likes Received:
    3
    Home Page:
    Create individual vms, each with unique footprint.

    Have each vm connect through firefox and use a proxy/vpn/etc so that you get a new ip every time.
    Clear cookies/cache, or better yet use private browsing
    Utilize different user agents, screen resolutions, etc so that your profiles look different
    Profit
     
  12. LordDJinn

    LordDJinn Newbie

    Joined:
    Nov 14, 2016
    Messages:
    1
    Likes Received:
    0
    Gender:
    Male
     
  13. internetlol

    internetlol Regular Member

    Joined:
    Feb 11, 2013
    Messages:
    263
    Likes Received:
    48
    Location:
    Houston, tx
    Clearing cookies of course/using randomized view times etc.

    Also most important have the bot search for the video through youtube rather than direct.
     
  14. Rock_Shock

    Rock_Shock Regular Member

    Joined:
    Sep 11, 2016
    Messages:
    477
    Likes Received:
    65
    Occupation:
    Nothing
    Location:
    Nowhere
    I have an awesome case study for the YT bot and I am creating something exactly the same as you are.
    Number of views from a single proxy should not exceed a certain amount per 24 hours. It is a fixed amount. Yes YT is dumb.
    The parameters studied and which gotta be randomized: 1. User agent, 2. Browser, 3. View duration, 4. Time between views. All should be random IN ADDITION to number of views sent per day per IP to a video, number of overall videos seen by an IP per day, etc etc etc
    Let me know if you wanna discuss further via PM ? :)
     
    • Thanks Thanks x 3
  15. amalkan

    amalkan Registered Member

    Joined:
    Jun 29, 2015
    Messages:
    64
    Likes Received:
    2
    any news on this topic?
     
  16. AkiKunal

    AkiKunal Newbie

    Joined:
    Feb 9, 2017
    Messages:
    1
    Likes Received:
    0
    Gender:
    Male
    Hey i was also looking for such bot. Pm me so that we can discuss over that.
     
  17. ReginaldBraxt0n

    ReginaldBraxt0n Newbie

    Joined:
    Feb 26, 2017
    Messages:
    31
    Likes Received:
    3
    Gender:
    Male
    Very useful information. Thank you. ;)
     
  18. Blacklistede

    Blacklistede Newbie

    Joined:
    Oct 19, 2016
    Messages:
    38
    Likes Received:
    1
    Google is pretty smart with detecting bots.
    Basics should be to clean your cookies everytime, random useragents and proxies.
    The harder part is making the views high retention, so Google doesn't know they are from bots. To achieve this, you also need to watch the video with youtube accounts, have different view times, different redirect headers and probably also rate the video a few times.
     
  19. vkeydahiya

    vkeydahiya Newbie

    Joined:
    Dec 22, 2014
    Messages:
    7
    Likes Received:
    0
    Gender:
    Male
    Occupation:
    ENG
    Location:
    Jodhpur
    hi buddy i having website views which i want to convert into views i having a particular country visit on my site want to convert that views into views if you able to provide me this kind of service than i will able to deal you