jlplenio / crude-twitch-viewer-bot

Send live viewers to Twitch, youtube and kick with this viewer bot software. The tool offers a user-friendly graphical interface. This program requires HTTP proxies.
GNU Affero General Public License v3.0
329 stars 91 forks source link

Multiple tabs per browser instance to reduce RAM usage #98

Closed nakulwastaken closed 1 year ago

nakulwastaken commented 1 year ago

what if we run all streams in headless mode will it going to count viewership if not then how can we open many tabs with less ram usage

jlplenio commented 1 year ago

Headless count towards viewership. There is an option in Playwright to set a proxy per browser tab. So, I could potentially restructure CTVBot to have for example 2-3 tabs per browser instance. Whether and by how much this reduces RAM consumption remains to be seen.

jlplenio commented 1 year ago

As of now, this would require a major refactor, which I will not do. I'll keep this suggestion in mind, though.