Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darkempire78/twitch-point-farmer
Automatically collects channel points for your favorite streamers.
https://github.com/darkempire78/twitch-point-farmer
selenium selenium-python selenium-webdriver twitch twitch-api twitch-extensions twitch-farmer twitch-points twitch-rewards
Last synced: 3 months ago
JSON representation
Automatically collects channel points for your favorite streamers.
- Host: GitHub
- URL: https://github.com/darkempire78/twitch-point-farmer
- Owner: Darkempire78
- License: gpl-3.0
- Created: 2021-06-28T18:46:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T17:11:38.000Z (about 1 year ago)
- Last Synced: 2024-05-02T02:27:14.414Z (9 months ago)
- Topics: selenium, selenium-python, selenium-webdriver, twitch, twitch-api, twitch-extensions, twitch-farmer, twitch-points, twitch-rewards
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 17
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Twitch Point Farmer
![](https://img.shields.io/codefactor/grade/github/Darkempire78/Twitch-Point-Farmer?style=for-the-badge) ![](https://img.shields.io/github/repo-size/Darkempire78/Twitch-Point-Farmer?style=for-the-badge) ![](https://img.shields.io/badge/SOURCERY-ENABLED-green?style=for-the-badge)
Automatically collects channel points for your favorite streamers.
## Installation
* Install all dependencies : ``pip install -r requirements.txt``.
* Download [Chromedriver](https://chromedriver.chromium.org/downloads).
* Get your Twitch authentication cookie (auth-token).
* Edit `config.example.json`:```Javascript
{
"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 !
[![](https://i.imgur.com/UfyvtOL.png)](https://discord.gg/sPvJmY7mcV)
## 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](https://github.com/Darkempire78/Raid-Protect-Discord-Bot/blob/master/LICENSE).