Closed pasokh closed 2 years ago
I'll take a look
Hi @pasokh
I've added a headless option in this commit
You can pass in True/False for headless mode on line 9 of bot.py
browser = driver.GetBrowser(headless=True)
I've moved selenium browser handling to driver.py, so that I can add ease of access features in the future (different browsers, options etc...)
I will get started on Docker soon, I haven't worked with Docker before so can't give an ETA.
Hello again Brannydonowt , special thanks for headless commit , so interesting to see dockerize commit. please if it's possible start docker at soonest time you can .. regards
Integrating Docker support now
I now have a working docker image. I am unable to test that the bot works as expected due to the issue #3
I'm working on fixing that issue now and will update once I am able to progress further with Docker.
Made some good progress on Dockerizing.
Latest Docker Branch has a buildable image that runs successfully. Working on downloading a trending video at the moment.
Hi @pasokh!
I've successfully uploaded a video via the bot using a docker container. Please build and run a docker image from the latest master using the build command.
docker build -t autoinsta .
You HAVE to run in headless mode for it to work. Thanks!
Hi Brannydonowt, please make selenium headless version & dockerize project for using serverless in docker container & make it on infinite run using sleep time gap between posts. finest regards