Today, We do webbot using Web Bot library. That’s bot, doing connection to url after doing login.
Firstly add imports in our project.
We define variables for our project after add imports.
If we have completed these procedures, Now writing login function.
That’s code goes to url and search on web page for PAGE_QUERY after do login procedure.
If PAGE_QUERY not in the web page , runing create function and added in web page.
And finally add Main function on our project.
If you want see that Project , look at my github repository.
Github Repo: https://github.com/canyksl/Website-Bot
WebBot Library: https://pypi.org/project/webbot/
I’m not an expert in Python so forgive me if I’m mistakes :)