LeagueOfPoro / EsportsCapsuleFarmer

Automatically watch all live matches on lolesports and farm Esports Capsules
https://www.youtube.com/c/LeagueOfPoro
Other
93 stars 23 forks source link

Alternative Chromium Browser Support #66

Closed Linyoa closed 2 years ago

Linyoa commented 2 years ago

Hi,

Love the program, I'd hoped someone would make something like it for a while now and this is perfect. Would it be possible, given that it's designed primarily for google chrome, to add support for other chromium based browsers? I personally use Vivaldi and it would be great not to have to leave chrome running just for this, but I have no idea how complicated or not adding other chromium browsers would be.

Thanks!

xMatador-Git commented 2 years ago

U can hardcode it to use chromium (works on my raspberry pi) u need to replace line 46 with service = ChromeService('PATH TO UR CHROMIUM') for me in my raspberry pi it is /usr/lib/chromium-browser/chromedriver so i had to change it to this for chromium service = ChromeService('/usr/lib/chromium-browser/chromedriver')

Linyoa commented 2 years ago

Awesome, I was hoping it would be as easy as pointing it in the direction of a different directory, thanks @xMatador-Git