D3vl0per / Twitch-watcher

Automatic watching the twitch to get Valorant drop
MIT License
226 stars 65 forks source link

Check if valorant is dropped #56

Open guttir14 opened 4 years ago

guttir14 commented 4 years ago

Fixes #55

guttir14 commented 4 years ago

I also tried to parse twitch.tv/inventory, but had no success. It would be more right, because in this merge valorant notification can be hidden by other notifications

giddensca commented 4 years ago

I have some coding experience but not with JavaScript specifically. Would it be possible to have the bot open the twitch inventory page and then scan the HTML for the image icon used when one has received the key? Every sees the same notification icon image once they've gotten the drop for valorant

PurpleMyst commented 4 years ago

My fork has this functionality since commit https://github.com/PurpleMyst/Valorant-watcher/commit/327f2deb886b732d4f6c830ec61d82e3e97cb513

It also has "check if stream is live" and "check if we got an error" + timing jittering and introduction of typescript checks

However the code is (visually) way different cause I ran a formatter on it and changed the variable names to my liking. I've also removed proxy functionality and any way to get token/exec path outside of config.json to simplify things

You might want to upstream some of those changes @D3vl0per