![]() This implementation uses a txt file to load in streamer data. please make sure it is all lowercase streamers.txt you can change the name of the game on line 32 of API.py. this value can be updated on line 23 of API.py game to watch please make sure it is all lowercase minutes to watchĪt the time of writing this readme, rust drops require 3 hours of watchtime per streamer. You must update your username on line 50 of API.py. the original tutorial for the master branch seems to be good enough for this matter: (0:00 - 1:45) username You must load your twitch cookies correctly. (this basically reopens the webdriver every 10 minutes) cookies because of that, you may want to set the anti_leak variable in API.py to True. in my experience, chrome seems to handle memory leaks more efficiently than firefox, but will still crash after hours of usage. ubuntu virtual private server running xfce on 2gb of memory) but webdriver memory leaks will eventually crash your program. ![]() ![]() You can change which games that the bot watches by specifying game names or IDs in the config file. (Restart the bot for changes to be applied) By default, the bot will attempt to watch all games. If there is no configuration file, a default one will be created. This script can be run in low memory environments (e.g. Start the bot with node dist/index.js or npm run start. You must make sure that you have chrome installed and that the chromedriver version matches with your chrome installation.Ĭreate the driver directory and drop the chromedriver executable there. although it can be easily changed to use Firefox or MS Edge instead of chrome, its cross-platform nature and ability to handle memory leaks more efficiently proves beneficial. Paste py -m pip install selenium in a cmd window (obviously you need to have python installed too.) driverĬhromedriver is required to use this script. currently not workingĪs of 9, because of continuous twitch detection updates, this bot no longer works. A fork of a python selenium-based twitch drop bot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |