Jump to content

undetected Twitch Viewer Bot (python) (UPDATE 23/04/2020)


KATE
 Share

Recommended Posts

Screenshot.png

With this bot for Twitch you can quickly get access to the game Valorant

UPDATED 20/04 NOW WORKING METHOD

  1. Download Python 3.8, if there is something to update.
  2. Download Google Chrome Browser, if there is something to update.
  3. Open CMD (not as administrator) and enter the command: "pip install selenium".
  4. Download the program itself "https://www.unknowncheats.me/forum/downloads.php?do=file&id=29324"
  5. Unzip the file.
  6. Rename the file "__main__.py" to "main.py.
  7. Open the file "watchStream" using notepad.
  8. Find the line "while driver.title == 'Log In - Twitch':" and completely replace it with this

Code:

   while driver.title == 'Log In - Twitch':
        print('Please type in authentication... Waiting...')
        time.sleep(1)
        
    print('Logged in!')
    time.sleep(2)
 
    def getElem():
        print("Getting twitch stream...")
        elements = driver.find_elements_by_class_name('tw-link')
        elemsWithHref = []
 
        for elem in elements:
            try:
                elemHref = str(elem.get_attribute('href'))
                if(elemHref != "https://www.twitch.tv/" and ("videos" in elemHref) == False):
                    elemsWithHref.append(elem)
            except:
                pass
 
        elemTwo = elemsWithHref[random.randint(0, len(elemsWithHref)-1)]
        print("")
        print("Going to: " + str(elemTwo.get_attribute('href')))
        return elemTwo
 
    while True:
        print('Going to Valorant streams')
        driver.get('https://www.twitch.tv/directory/game/VALORANT?tl=c2542d6d-cd10-4532-919b-3d19f30a768b')
        time.sleep(10)
 
        elemToClick = getElem()
        elemToClick.click()
 
        print("Sleeping now (-.-) zzz")
        randSleep()
        print("Damn this shit boring")

Save and exit.

9. Open "main.py" enter the data and everything is ready.

However, there are also disadvantages. For example, this works with accounts not verified by mail. You will have to manually change the video resolution, disable chat, enable adult content in the settings.

I would advise adding OTP, the ability to change the video resolution, turn off chat automatically and automatically turn on adult content settings.

Developer: andrehse

  • Like 4
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...