OGSegu / Twitch-View-Bot

First open-source really working view bot for Twitch
MIT License
65 stars 41 forks source link

working #34

Closed RicardPort closed 3 years ago

RicardPort commented 3 years ago

hello for me working but where can I get cheap resident proxy. I mean those that work after 1 min, viewers run away. i used elite proxy

image image

KiraSokolov commented 3 years ago

What proxies i need to use? lots of bad proxy

RicardPort commented 3 years ago

if you buy a private https proxy, it will work for you, but bots will leave the stream after a minute. The next option is to buy a very expensive resident proxy from https://brightdata.com/proxy-types/rotating-residential-ips

KiraSokolov commented 3 years ago

but bots will leave the stream after a minute

well, i think, that this problem can be solved without brightdata

RicardPort commented 3 years ago

well, i think, that this problem can be solved without brightdata

why is it not working?

the problem are the proxies. i have not figured out how to get alot of different stable low bandwidth proxies for small money. most of the time you have to pay per proxy and not per gigabyte used. proxies for this bot just need low bandwidth because the bot is only doing head requests.

the free proxies i am trying to scrape are all garbage. they are not even able to handle 1-3 consecutive head requests. i noticed this behaviour from all free proxies sites out there. i really question their existence. if they are not able to handle head requests, what could they be used for?

the best option out there is probably luminati.io. they offer a pay-as-you-go plan with unlimited proxies and pay by bandwidth. their datacenter ips cost 0.6 euro per gigabyte and residential ips 25 euro per gigabyte which is kinda expensive. i tried using their datacenter ips but either they are blocked by twitch or luminati doesn't allow requests to twitch. they worked for maybe one hour before i experienced these blocks.

also when using residential ips you have to sign a letter that you are not using those for fraud or faking stuff and luminati will publish your information to help companies identify those actions. sadly a twitch viewer bot is a 'fake' action in my opinion so i won't risk it.

conclusion

i put it some decent amount of hours to get this working cause i am a really curious person and love to reverse engineer stuff. i know that there are bots out there for twitch so i thought it has to be possible, but not for me. twitch is doing a great job in preventing commercial proxies on their site and free proxies are garbage anyways.

feel free to play around with this code and if you manage to get something going, let me know or make a pull request!

Message from https://github.com/breuerfelix/twitch-viewer-bot

KiraSokolov commented 3 years ago

I have parsed several thousand free proxies, deleted out the non-working ones. Then I loaded it into the utility, having previously made the output of suitable ones. With such proxies, online does not want to stay stable. Maybe try to loop the use of good ones? I would like to use it with minimal costs, because if you buy expensive proxies, it is easier to use special services.

RicardPort commented 3 years ago

I have parsed several thousand free proxies, deleted out the non-working ones. Then I loaded it into the utility, having previously made the output of suitable ones. With such proxies, online does not want to stay stable. Maybe try to loop the use of good ones? I would like to use it with minimal costs, because if you buy expensive proxies, it is easier to use special services.

where did you buy the proxy from?

OGSegu commented 3 years ago

изображение

It works great with these type of proxies.