Skip to content

SnaXD/Twitch-Drop-Automation

Repository files navigation

Twitch Drop Automation

Setup

Input your path in XDsWebdriver.py Sign into your twitch account manually in your Chrome browser Make sure the path to ChromeDriver Is Correct. (Also in XDsWebdriver.py) Run XDsMain.py

Troubleshooting:

When updating Webdriver / Chrome

We use Stealth to avoid detection but if something changes selenium might get detected anyway. One of the reasons you get detected is the website in this case Twitch are looking for predefined JavaScript variables which appear when using Selenium. It looks for anything containing webdriver or selenium and variables such as $cdc_ and $wdc_. Now that we know why it dosnt work we can figure out how to fix it.

  1. First make a copy of the ChromeDriver.exe in case anything goes wrong
  2. Get Vim We can change these variables in your ChromeDriver file using Vim.
  3. Use: replace the path in the following and type in your console: vim -b /path/to/ChromeDriver
  4. It will look like a bunch of gibberish but then type ":%s/cdc_/the_/g"
  5. Then type ":wq!" and press Return

Cloudflare - im not a robot

Try to update your ChromeDriver.

Nice to have features

  • Auto Drop claim
  • Automated Cron function to schededule daily restart (If all possible drops are collected)

Most of the features can be done with a bit of work i.e. Manual make Cron Job and use a browserextension for claiming drops.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages