Closed tbrodbeck closed 3 months ago
Ok I found the error. The chromedriver path was not valid of the .env.example. I needed to delete it then it it works
yeah, sorry... ill remove this in my next PR when i work on ARM support
No worries. Nice bot otherwise :)
thanks! and open for contributions ;)
im closing this ok?
I exchanged the business logic a little bit with my own system. I can send you a PR if you are interested after I get it cleaned up
I exchanged the business logic a little bit with my own system. I can send you a PR if you are interested after I get it cleaned up
Yes, sure 👍🏻
Hey. I have chosen a quite different approach now.
I have put it in its own repo for now: https://github.com/tbrodbeck/kicktipp-bot-serverless
The main difference between my approach and yours is that this tool is...
Especially, because I used PlayWright - I am not sure how to merge those two repositories anymore.
Hey. I have chosen a quite different approach now.
I have put it in its own repo for now: https://github.com/tbrodbeck/kicktipp-bot-serverless
The main difference between my approach and yours is that this tool is...
- it is intended to be run as a job not as a service. So it will stop immediately after checking the games and requires an external scheduling tool such as Cron, GCP Cloud Run Code Triggers or AWS EventBridge.
I like that idea. We could introduce an environment variable or argument flag (--schedule X
) which tells the bot to run itself every X
minutes. If not set, the bot will run once and can be scheduled by a CronJob or some other scheduler.
- using PlayWright instead of Selenium. (which is a bit nicer/more modern to use)
I do not have much experience with playwright and Selenium works well enough for me. The only annoying this is that i am unable to build an ARM Image with Selenium, because the Chromedriver does not seem to work. Does Playwright work with ARM?
Especially, because I used PlayWright - I am not sure how to merge those two repositories anymore.
Thats totally ok. I can reference your repo in the readme, so people can choose.
Hi Anton. Sounds good. Would be lovely to be mentioned in the README of this repo :)
And yeah what can I say.. The bot is working fine so far in our little group: 😄
Hey Tillus,
Awesome man! In the World Cup, i got second two years ago.
I will create a PR now.
Environment
Pre-Condition
Even though I am using a M1 Max Macbook, Docker is able running the amd64 image through emulation. (see below)
Expected Behavior
I just tried booting up the container.
Actual Behavior
Additional Information
I tried building the docker container myself (running ARM), but I got the same error. So it does not seem not architecture related.