I'm using Python 3.6 while I have to fill in a form. Unfortunately, mechanize doesn't work on Python 3. What do you suggest as an alternative to mechanize?
unfortunately mechanize only works with Python 2.4, Python 2.5, Python 2.6, and Python 2.7.
Browsing with Mechanize The mechanize module in Python is similar to perl WWW:Mechanize. It gives you a browser like object to interact with web pages.
mechanize does not provide any support for JavaScript.
SeleniumRC with selenium.py
is an alternative (and one of the few workable options if the pages you need to scrape have an important, "structural" role for Javascript operations, esp. AJAX-y ones, since Mechanize doesn't execute the Javascript on the pages it's scraping).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With