3 ms·
Mechanize is outdated and python 2 only. We tried it and switched to RoboBrowser.
by Dolores12 10y ago
Mechanize is outdated and python 2 only. We tried it and switched to RoboBrowser.
- grewil 10y agoI find WWW::Mechanize::Firefox an interesting alternative. The API is similar to WWW::Mechanize, but it remote controls an instance of Firefox using the MozRepl addon. This means scraping/interacting with pages using JS works fine. http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.78/lib/WWW/Mechanize/Firefox.pm http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.78/li...
- jimmaswell 10y agoIn some significant ways, python 2 is the better language than 3, though.
- tmerr 10y agoIn what ways?
- popey456963 10y agoPython 3 fan myself, but there are two things I've heard from colleagues: 1. More modules for Python2 than Python3. A lot of projects are forced to go down to Python2 to allow them to use the modules they want to use. 2. It's what they're familiar with. Generally the older developers like using Python2 because they know all what they're getting, no matter what strings are attached. 3. Better syntax. Apparently some people enjoy the Python2 syntax more than the Python3 one. Not using brackets for print statements seem to be the biggest plus, even though in my opinion it looks more Pythonic.