Python script which rotates between most popular twitch valorant channels. Drop rules: https://beta.playvalorant.com/en-us/news/announcements/day-1-closed-beta-in-eu-na-and-moving-forward/
- To enable valorant drops, twitch account must be connected to riot account
https://www.twitch.tv/settings/connections
- Two-factor authentication must be enabled to log in
https://help.twitch.tv/s/article/two-factor-authentication-with-authy
- Chrome browser is required.
chromedriver
has to be in$PATH
. It can be downloaded fromhttps://sites.google.com/a/chromium.org/chromedriver/downloads
chromedriver
should be modified to avoid being detected as selenium. It can by achived byperl -pi -e 's/cdc_/dog_/g' /path/to/chromedriver
More info:https://stackoverflow.com/questions/33225947/can-a-website-detect-when-you-are-using-selenium-with-chromedriver
- Python version -
3.8.1
pip install -r requirements.txt
python bot.py
I have been using only this script to watch valorant, and got my drop after approximately 24-48h uptime.
- More info should be passed as argument than hardcoded, like max/min time to watch, etc.
- Hosting other streamers and ending of stream should be handled.
- Channel should be checked if valorant drop is enabled.