Answer the question
In order to leave comments, you need to log in
Writing a bot in Python 3.x?
You need to write a bot that would go to the page, go to another and press one button. How can I do this and is it possible? Please tell me, or direct where to start and where to dig? Thanks in advance)
Answer the question
In order to leave comments, you need to log in
Use urllib, mechanize, selenium.
With selenium, you will most likely find it easier and more visual.
Selenium is there.
PS This is already the 4th or 5th question in the last 10 days on this topic. When will people learn to search?
The question of automating actions with sites is really frequent.
If you need it quickly and simply, then webtest, selenium, requests.
If you need a little slower, but with different features, then grab, mechanize, beautifulsoup.
Personally, I use grab because it's fast (pycurl/lxml backend is faster than python libraries) and because it's high-level (easy multithreading, form processing, documentation in Russian).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question