andrei-zgirvaci / Twitch-Farmer

A bot that helps you to get more followers on Twitch
135 stars 38 forks source link

Would it be possible to simulate Twitch viewing without using selenium for less performance cost #29

Open DudeManGuy0 opened 3 years ago

DudeManGuy0 commented 3 years ago

I think this project is great but was wondering if its possible to switch it over to a better App-Twitch interface that cuts out unnecessary parts to save on performance. As you can expect it would be pretty costly to run 100 of these bots at once. Basically, can Twitch viewing be simulated using http/https requests to save on performance. I do have a feeling it can be done but is very hard with the measures Twitch puts in to counter these bots.

andrei-zgirvaci commented 3 years ago

Hi, I was looking into possibilities like this when I wanted to make this bot, unfortunately, I don't know how to solve the captcha issue.

But you are more than free to try and experiment and see if it works out. I will be happy to merge your pull request! 🙂

DudeManGuy0 commented 3 years ago

Hi, I was looking into possibilities like this when I wanted to make this bot, unfortunately, I don't know how to solve the captcha issue.

But you are more than free to try and experiment and see if it works out. I will be happy to merge your pull request! 🙂

If it that simple you can use paid API to solve captchas. If you can give me more details and how I can implement this I can write the code to solve it (although a paid API key will be needed).

andrei-zgirvaci commented 3 years ago

You would probably use Request module to make requests to an external API.

If you want to scrape websites you can use Scrapy module. Give it a try and see how far you can go with web scraping. Good luck :)