GithubHelp home page GithubHelp logo

darkempire78 / twitch-point-farmer Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 2.0 37 KB

Automatically collects channel points for your favorite streamers.

License: GNU General Public License v3.0

Python 99.56% Batchfile 0.44%
twitch twitch-extensions twitch-points twitch-farmer twitch-api twitch-rewards selenium selenium-python selenium-webdriver

twitch-point-farmer's Introduction

Twitch Point Farmer

Automatically collects channel points for your favorite streamers.

Installation

  • Install all dependencies : pip install -r requirements.txt.
  • Download Chromedriver.
  • Get your Twitch authentication cookie (auth-token).
  • Edit config.example.json:
{
    "chromeDriverPath": "", // Set the path of the chromedriver
    "authTokenCookie": "", // Paste the content of your Twitch authentication cookie (auth-token)
    "streamers": [], // Put a list of your streamers to farm in order of preference (ex: ["streamerName1", "streamerName2", ...])
    "hideTheBot" true, // true = hide the bot, false = see the bot working
    "logs": true // true = log every bot's actions, false = do not log bot's actions
}
  • Rename it to config.json.

Finally, launch the script.

Get your Twitch authentication cookie (auth-token).

  • Go to settings (advanced settings for some browsers)
  • Go to privacy and security
  • Click on cookies and other site data
  • Click on set cookies and site data
  • Search for twitch.tv
  • Click on the coupon and retrieve the contents of the cookie named auth-token

Shortcut for main browsers:

Chrome: chrome://settings/cookies/detail?site=twitch.tv

Brave: brave://settings/cookies/detail?site=twitch.tv

Firefox

  • Go to https://www.twitch.tv/
  • Open the Dev Tools (Ctrl+Shift+I or F12)
  • Go to the Storage tab
  • Click on Cookies then https://www.twitch.tv
  • Copy the content of the cookie named auth-token

Features

  • Collect points (every 5 minutes) (+10pts)
  • Recover the drops (+50pts)
  • Watch serial streams (+450pts)

Discord

Join the Discord server !

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

This project is under GPLv3.

twitch-point-farmer's People

Contributors

darkempire78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

twitch-point-farmer's Issues

Drop Collection doesn't work

The bot never gets drops. the ID provided in the button doesn't work and when changing it to an ID that does work, the button turns red and says "An error occured with claiming the drop"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.