diff --git a/README.md b/README.md index 7c9d96a..95355b6 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,11 @@ Read more here: https://help.twitch.tv/s/article/channel-points-guide?language=e - Improve the logging - Final report with all the datas - Rewrite the entire code using classe instead of module with global variables +- Automatic download the followers list and use as input - Place the bet / make prediction and won or lose (good luck) your channel points! **CURRENTLY IN BETA / VERY UNSTABLE** -For the bet system the script use Selenium (Chrome implemented but not tested as well). Could be usefull how to MakePrediction usign a [POST] request. I've also write a [poc](/TwitchChannelPointsMiner/classes/Twitch.py#L160) but I don't know how to calculate/create the transactionID. Any helps are welcome +For the bet system the script use Selenium. Could be usefull how to MakePrediction usign a [POST] request. I've also write a [poc](/TwitchChannelPointsMiner/classes/Twitch.py#L160) but I don't know how to calculate/create the transactionID. Any helps are welcome ## How to use: 1. Clone this repository `git clone https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2` @@ -56,13 +57,18 @@ twitch_miner = TwitchChannelPointsMiner( ) ) -twitch_miner.mine(["streamer1", "streamer2"]) # Array of streamers +twitch_miner.mine( + ["streamer1", "streamer2"], # Array of streamers + followers=False # Automatic download the list of your followers +) ``` You can also use all the default values except for your username obv. Short version: ```python from TwitchChannelPointsMiner import TwitchChannelPointsMiner twitch_miner = TwitchChannelPointsMiner("your-twitch-username") twitch_miner.mine(["streamer1", "streamer2"]) # Array of streamers +twitch_miner.mine(followers=True) # Automatic use the followers list +twitch_miner.mine(["streamer1", "streamer2"], followers=True) # Mixed ``` 4. Start mining! `python run.py` diff --git a/example.py b/example.py index 524d5a6..42ad966 100644 --- a/example.py +++ b/example.py @@ -28,4 +28,7 @@ twitch_miner = TwitchChannelPointsMiner( ) ) -twitch_miner.mine(["streamer1", "streamer2"]) # Array of streamers +twitch_miner.mine( + ["streamer1", "streamer2"], # Array of streamers + followers=False # Automatic download the list of your followers +)