1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Chaturbate real browser bot JavaScript

Discussion in 'HTML & JavaScript' started by calculataur, Oct 17, 2019.

  1. calculataur

    calculataur Newbie

    Joined:
    Mar 24, 2014
    Messages:
    13
    Likes Received:
    2
    I started this project after my gf started chaturbating. In the mean time I was working on a project using a headless browser to scrape data, so I decided to find a way to generate real browser viewers using this.

    DESCRIPTION
    It's a simple chaturbate bot script in JavaScript running on nodeJS and a Linux machine, you should be familiar with Linux or coding in general.

    WARNING
    Using this script on your machine can make it unresponsive consuming all resources available, use it with caution.
    You may get banned for using this to generate chaturbate views. USE IT AT YOUR OWN RISK.

    This is no cheap way to generate traffic. Chrome is known for his high usage of memory.

    NOTES:
    - There is no proxy implementation, chaturbate viewers works without proxy (tested up to 150 viewers with 6GB usage of RAM).
    - This is a proof of work using a real browser like Chrome navigating to the model page and keeping the browser open.
    - This is a hobby and learning project and may or may not continue in the future.
    - The script is tested on Linux, should work on Windows too by installing NodeJS and running the npm and node specific commands listed on install.

    Pre Requirements Linux:

    - CPU with virtualization enabled and at least 4GB of RAM or a VPS server with good specs
    - Virtualization software like Oracle Virtual or a VPS server
    - Linux iso

    INSTALL
    Tested on Ubuntu 18.04 server (should work on other distros)
    1. install Linux in your virtual environment and fire up the terminal or connect with putty via SSH on the newly created machine.
    2. update the OS with: sudo apt-get update -y and sudo apt-get upgrade -y
    3. install NMP: sudo apt-get install npm -y and test if installed: nodejs -v
    4. install Puppeteer module: npm install puppeteer

    USAGE
    Copy the code from below and save it like script.js then run the command:
    nodejs script.js -m model -v 10
    where m = model name
    where v = number of viewers

    Happy chaturbating!!!

    ERRORS
    If you get an error containing libX11-xcb.so.1 run:
    sudo apt install -y gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget

    For questions you can find me on Skype: calculataur

    Code:
    "use strict";
    const puppeteer = require('puppeteer');
    const argv = require('minimist')(process.argv.slice(2));
    
    process.on('SIGINT', function() {
        console.log("\n\rCaught interrupt signal")
        process.exit()
    })
    
    let sendViewers = async (model, viewers) => {
        const totalv = viewers
        console.log('Launching browser...')
        const browser = await puppeteer.launch({headless: true ,args: ['--no-sandbox', '--no-zygote', '--single-process', '--disable-gpu', '--disable-dev-shm-usage', '--user-data-dir=/tmp', '--safebrowsing-disable-auto-update', '--disable-setuid-sandbox', '--disable-background-networking', '--disable-default-apps', '--disable-extensions', '--disable-sync', '--disable-translate', '--mute-audio', '--no-first-run', '--metrics-recording-only', '--ignore-certificate-errors', ' --ignore-ssl-errors', '--ignore-certificate-errors-spki-list', '--incognito']});
        for(viewers; viewers >= 1; viewers--) {
    
    
            try {
                const page = await browser.newPage()
                await page.setCookie(...COOKIE)
                await page.setUserAgent(USER_AGENT)
                await page.setViewport({ width: 800, height: 600 })
    
                await page.waitFor(2000)           
                await page.goto(`https://www.chaturbate.com/${model}/`, { waitUntil: 'networkidle2' })
    
                // await browser.close()
            } catch (e) {
                console.error(e);
            } finally {
                console.log(`Open page ${totalv-(viewers-1)} of ${totalv}.`)
            }
           
        }
    
        console.log('Finished opening pages.')
        console.log('Press CTRL+C to abort.')
    
    }
    
    
    ;(async function main () {
    
        try {
            if (Object.keys(argv).length > 2) {
               await sendViewers(argv['m'], argv['v'])
            } else {
                console.log('Usage: nodejs anonymous_users.js -m model -v 100')
            }
        } catch (err) {
            console.error(err);
        }
    
    }) ()
    
    const USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3239.108 Safari/537.36';
    const COOKIE = [{
    
            "domain": "chaturbate.com",
            "expirationDate": '2020-10-11T01:09:05.000Z',
            "hostOnly": false,
            "httpOnly": false,
            "name": "agreeterms",
            "path": "/",
            "sameSite": "no_restriction",
            "secure": false,
            "session": false,
            "storeId": "0",
            "value": "1"
    }];
    
    
     
    • Thanks Thanks x 1
  2. Veil123

    Veil123 Jr. VIP Jr. VIP

    Joined:
    Jun 13, 2012
    Messages:
    1,189
    Likes Received:
    1,699
    Gender:
    Male
    Occupation:
    Artificial Intelligence
    Location:
    Macedonia
    Home Page:
    You let your girlfriend do what? Chaturbating? How do you live with it? I am very curious...
     
    • Thanks Thanks x 1
  3. satyr85

    satyr85 Jr. VIP Jr. VIP

    Joined:
    Aug 7, 2011
    Messages:
    1,058
    Likes Received:
    849
    Occupation:
    Vodka drinker
    Location:
    Mordor
    It works, but it don't mean it gives any "profit".
    I had a client in the past who wanted chaturbate bot. Ive made for him bot that was able to deliver few thousands viewers total. No difference in "rankings" on chaturbate.
     
  4. jeffr0

    jeffr0 Junior Member

    Joined:
    Sep 1, 2019
    Messages:
    116
    Likes Received:
    64
    Gender:
    Male
    What's the issue? It's not like she's fucking these guys, she's just getting naked. Most of them are over weight losers anyway. If she's making money, who the hell cares.
     
  5. calculataur

    calculataur Newbie

    Joined:
    Mar 24, 2014
    Messages:
    13
    Likes Received:
    2
    I never said anything about profits and the raking from what i seen is based more on popularity. What was the program made in? python?
     
  6. calculataur

    calculataur Newbie

    Joined:
    Mar 24, 2014
    Messages:
    13
    Likes Received:
    2
    Money and pussy makes you do incredible things!
     
  7. satyr85

    satyr85 Jr. VIP Jr. VIP

    Joined:
    Aug 7, 2011
    Messages:
    1,058
    Likes Received:
    849
    Occupation:
    Vodka drinker
    Location:
    Mordor
    Python + selenium.
     
  8. xue8510

    xue8510 Newbie

    Joined:
    Jun 14, 2014
    Messages:
    13
    Likes Received:
    1
    if There is no proxy chaturbate will know it
     
  9. calculataur

    calculataur Newbie

    Joined:
    Mar 24, 2014
    Messages:
    13
    Likes Received:
    2
    i'm still using it and works great.
     
  10. Nasap

    Nasap BANNED BANNED

    Joined:
    Nov 7, 2019
    Messages:
    39
    Likes Received:
    2
    What specs do I need to run this
     
  11. larrynectar

    larrynectar Regular Member

    Joined:
    Nov 1, 2019
    Messages:
    255
    Likes Received:
    49
    Gender:
    Female
    I am very interested in this as I own a majorr webcam studio in Colombiaad I am looking for someone to create a Chaturbate bot.

    Yu do though need touse residential proxies otherwise all the viewers count as one ..they are greyed and it does not help rankings/

    Please PM me.

    This is a paying gig !!!!!!!!!!!
     
  12. Girl Girl

    Girl Girl Newbie

    Joined:
    Nov 13, 2019
    Messages:
    2
    Likes Received:
    0
    Gender:
    Female
    Can you create for me please? I need it, leave your twitter i'll dm you.
     
  13. satyr85

    satyr85 Jr. VIP Jr. VIP

    Joined:
    Aug 7, 2011
    Messages:
    1,058
    Likes Received:
    849
    Occupation:
    Vodka drinker
    Location:
    Mordor
    No, let me tell you reasons.
    Such bot rather need to be browser based (pure requests are also doable but at way bigger costs), in result you would need shitload of CPU power to run this bot.
    Lets say you want 2k unique viewers at same time, each from different IP. It would be around $800 in server hardware monthly and at least $1500 monthly on residential proxies and thats only bot running costs without any profits. If you dont know how to get cheap residential proxies and cheap dedicated servers you can multiply these costs by 2 or 3.

    You could get way better return if you would spend this money on creating 1k twitter profiles with your girl images and mass posting, following etc and redirecting users to chaturbate.
     
  14. Nasap

    Nasap BANNED BANNED

    Joined:
    Nov 7, 2019
    Messages:
    39
    Likes Received:
    2


    You run a bot like this? Otherwise how do you know?
     
  15. satyr85

    satyr85 Jr. VIP Jr. VIP

    Joined:
    Aug 7, 2011
    Messages:
    1,058
    Likes Received:
    849
    Occupation:
    Vodka drinker
    Location:
    Mordor
  16. Nasap

    Nasap BANNED BANNED

    Joined:
    Nov 7, 2019
    Messages:
    39
    Likes Received:
    2
    I was referring to the cost of running the bot. Not the actual profit from it, but now that you touched the subject, was the bot that you made viewing through registered or unregistered users
     
  17. satyr85

    satyr85 Jr. VIP Jr. VIP

    Joined:
    Aug 7, 2011
    Messages:
    1,058
    Likes Received:
    849
    Occupation:
    Vodka drinker
    Location:
    Mordor
    Running such bots is my bread and butter do i know the costs ;) Bot was working same as OP bot, otherwise i would not reply - unregistered users.
     
  18. Swagmonster

    Swagmonster Junior Member

    Joined:
    May 10, 2019
    Messages:
    111
    Likes Received:
    75
    I worked with chaturbate in the past. You need to have some accounts with loaded credit (username changes colors) some accounts also need to pay the bitch for modeling live (increases credibility). Just behave as a real user with multiple accounts and this will work :)

    Also, you can create an account creator and login or save profiles to increase credibility even more.

    Good luck!
     
  19. madarfakarjon

    madarfakarjon Newbie

    Joined:
    Mar 27, 2019
    Messages:
    2
    Likes Received:
    0
    Gender:
    Male
    Hello, when i try to run it, i get an error. Maybe if you have time you can asisst me on Skype. ( i wrote you earlier). thanks
     
  20. calculataur

    calculataur Newbie

    Joined:
    Mar 24, 2014
    Messages:
    13
    Likes Received:
    2
    contact me on disc: Felrazor#3453