lg / awardwiz

Search for flight availability with award miles
http://awardwiz.com
100 stars 18 forks source link

Create and publish docker image of awardwiz-scrapers server that processes anonymous requests #10

Open vassoz opened 1 year ago

vassoz commented 1 year ago

Nice project. Yet the functionality is quite limited. Also public version has some plugins timing out, while they're working locally.

Could you create an alternative version that processes anonymous requests (i.e. skips token verification and ratelimiting) and publish the docker images for common platforms?

With such container it would be easy to come up with some automation locally.

vassoz commented 1 year ago

I quickly hacked such image: https://github.com/vassoz/awardwiz/commit/1ae92f17d3343b97c995f7c32611b04196b2cdd1

And built it: https://hub.docker.com/r/vassoz/awardwiz-scrapers-local

BTW: you need to add x11-utils to the image otherwise it can't scrape: https://github.com/vassoz/awardwiz/commit/1ae92f17d3343b97c995f7c32611b04196b2cdd1#diff-6da8b4b9031ef42d04b4004c5e3645b74bbda94a046171c19d042003f475cd0c