This script will avoid influence farm channels (these channels are nerfed and do not give influence in-game) and automatically select channels that are currently streaming.
The first time a user uses the script they will be prompted to login, after logging in they should press enter in the python shell. This script will save the session cookies to a file and load them on startup. This prevents the user from having to login every time they start the script.
Normal operation
python3 main.py
Headless
python3 main.py -h
Please install the packages listed in requirements.txt
Additionally, you'll need to have the ChromeDriver (https://chromedriver.chromium.org/downloads) accessible via PATH (system variable).
-nm
- No Mute (Enables Audio)
-h
- Headless (CLI Usage)
-p
- Print Mode
You'll need to run the script with GUI and log in at least once to generate the cookies.pkl file.
- copy the cookies.pkl file to your current directory
sudo apt update
sudo apt upgrade
sudo apt-get install chromium-browser
- Download v76 of the webdriver
unzip chromedriver_linux64.zip
sudo pwd
and copy the output- Add the directory containing the webdriver to the system $PATH variable:
export PATH=$PATH:[step 7 output]
python3 main.py -h