|
1 |
| -# OWL Tokens and Contenders Skins farmer bot |
| 1 | +# Overwatch League Tokens Bot |
| 2 | +This is an app that watches League streams for you on YouTube! Still experimental, [issues](#possible-issues) may occur. |
2 | 3 |
|
3 |
| -Highly experimental and heavily work-in-progress implementation of YouTube league token bot that uses actual browser to watch streams. Downloadable executable later. |
| 4 | +Also, no contenders skins support as contenders skins are earned via Twitch drops - not watching on YouTube. |
| 5 | +To earn contenders skins in the same automated fashion, use [this](https://github.com/DevilXD/TwitchDropsMiner). |
4 | 6 |
|
5 |
| -There is headless mode that is console only (no browser window!) and I am not sure whether YouTube can detect it. |
| 7 | +<div align="center"> |
6 | 8 |
|
7 |
| -I will add more info on how to use this bot to this Readme later. |
| 9 | +[](https://ko-fi.com/ucarno) |
| 10 | + |
| 11 | +</div> |
| 12 | + |
| 13 | +## Features |
| 14 | +* Automatic live broadcast detection - don't worry about "when" and "where" |
| 15 | +* Multiple accounts support - you just need multiple Google accounts |
| 16 | +* Headless mode - see only console window (as before) if extra Chrome window is bothering you |
| 17 | +* No sound - Chrome will be muted entirely |
| 18 | + |
| 19 | +## Planned Features |
| 20 | +* Automatically set broadcast quality to 144p, so it does not consume a lot of bandwidth |
| 21 | + |
| 22 | +## Installation |
| 23 | +### Windows |
| 24 | +1. Download latest version [here](https://github.com/ucarno/ow-league-tokens/releases/latest). |
| 25 | +2. Unpack zip anywhere you want. |
| 26 | +3. Run `ow-league-tokens.exe` to open the app. |
| 27 | +4. Ignore Window Defender's complaints about "unknown publisher". |
| 28 | + |
| 29 | +### Linux |
| 30 | +You need to have GUI to log into your Google account(s). If you don't have GUI and can't install/use it, then |
| 31 | +do everything on another machine with GUI and copy `profiles/` directory to your Linux installation. |
| 32 | +1. Install Python 3.10+ or make sure your Python version is at least 3.10 (`python --version`) |
| 33 | +2. Clone this repository using `git clone https://github.com/ucarno/ow-league-tokens` |
| 34 | +3. Go to app's directory using `cd ow-league-tokens` |
| 35 | +4. Install dependencies via `pip3 install -r requirements.txt` |
| 36 | +5. Run `python3 main.py` |
| 37 | +6. Add required amount of profiles using menu (single profile for single Battle.net/Google account). |
| 38 | + |
| 39 | +## Usage |
| 40 | +Make sure you have Google Chrome installed. |
| 41 | +This bot uses [Chrome Driver](https://github.com/ultrafunkamsterdam/undetected-chromedriver) |
| 42 | +under the hood that requires Google Chrome to be installed. |
| 43 | + |
| 44 | +Also make sure you have connected Battle.net account(s) to Google account(s) |
| 45 | +on [this](https://www.youtube.com/account_sharing) page! |
| 46 | + |
| 47 | +1. Start the bot using first menu option. |
| 48 | +You should see Chrome window(s) opening, with text in console guiding you. |
| 49 | +2. When you see Google's login screen - log in to your account. |
| 50 | +3. Then you should be redirected to YouTube page and the bot will confirm that everything is OK by writing a success |
| 51 | +message in console and redirecting you to home screen. |
| 52 | + |
| 53 | +## Updating |
| 54 | +Sometimes you may see "new version available" message in your console. It probably means that I have fixed something. |
| 55 | + |
| 56 | +Bot can be updated without losing your profile(s) data (no need to login into Google again): |
| 57 | +1. Download latest version from [here](https://github.com/ucarno/ow-league-tokens/releases/latest). |
| 58 | +2. Unpack it anywhere you want. |
| 59 | +3. Move `config.json` file and `profiles` directory from old version to new one. |
| 60 | +4. Done! |
| 61 | + |
| 62 | +## Command-line Arguments |
| 63 | +* Use `--nomenu` (or `Start_Without_Menu.bat` on Windows) to run the app without menu using your `config.json` file. |
| 64 | + |
| 65 | +## Possible Issues |
| 66 | +### Stream window randomly unloading |
| 67 | +This may happen for example in non-headless mode when you collapse Chrome window. |
| 68 | +Will be fixed in later release. |
| 69 | + |
| 70 | +### Google can log you out of account |
| 71 | +This may happen if Google thinks your activity is suspicious (automated). Didn't happen for me, but may happen for you. |
| 72 | +You can check if everything is OK by restarting an app. If you see "Authentication check passed." message then |
| 73 | +everything is working as expected. I will look into this issue further and implement some fixes and checkers. |
| 74 | + |
| 75 | +### Anything else? |
| 76 | +Then [open new issue](https://github.com/ucarno/ow-league-tokens/issues/new) and I will look into this. |
8 | 77 |
|
9 | 78 | ## Contribution
|
10 |
| -Feel free to contribute! |
11 |
| -* Thanks, [@nipser](https://github.com/nipser) and [@probablypablito](https://github.com/probablypablito) for Docker support! |
12 |
| -* Also thanks to everyone for using this bot or leaving feedback! |
| 79 | +Feel free to contribute by |
| 80 | +[opening new issue](https://github.com/ucarno/ow-league-tokens/issues/new), |
| 81 | +[making a pull request](https://github.com/ucarno/ow-league-tokens/pulls) or |
| 82 | +[buying me a coffee](https://ko-fi.com/ucarno). |
| 83 | +Also thanks to everyone for using this bot and leaving feedback! |
| 84 | + |
| 85 | +## Disclaimer |
| 86 | +This app is not affiliated with Blizzard Entertainment, Inc. All trademarks are the properties of their respective owners. |
| 87 | + |
| 88 | +2023 Blizzard Entertainment, Inc. All rights reserved. |
0 commit comments