mechanize

URL
Rubyforge search (mechanize)
Author(s)
Michael Neumann
Summary
Automated web-browsing.

Add your comment ↓

Comments

mechanize (0.9.3) is Working
for mehdi adda (GNU/Linux, 7 months ago)

works under centos 5.4, ruby 1.9.1p376 ... but not before uninstalling default versions of libxml2-devel and libxslt-devel (for me it was : libxml2-2.6.26 and libxslt-1.1.17) and installing the last available versions (as for now : libxml2-2.7.6 and libxslt-1.1.26)

In fact, before doing this, mechanize was working but not for all my urls.

Here's how I proceeded :

yum uninstall libxml2-devel libxslt-devel

wget ftp://xmlsoft.org/libxml2/LATEST_LIBXML2
tar -zxvf LATEST_LIBXML2
cd libxml2-2.7.6/
./configure --prefix=/usr
make
make install
cd ..
wget ftp://xmlsoft.org/libxml2/LATEST_LIBXSLT
tar -zxvf LATEST_LIBXSLT
cd libxslt-1.1.26/
./configure --prefix=/usr
make
make install

Finally : gem install mechanize

mechanize (0.9.3) is Working
for Henry Hamon (GNU/Linux, 9 months ago)

mechanize (0.9.3.1) is Working
for Kenneth Miller (Mac OSX, 10 months ago)

I added a tiny patch to my fork:

http://github.com/kemiller/mechanize

Working for me now. Please try it out and let me know if it works for you too.

mechanize (0.9.3) is Failing
for Kenneth Miller (GNU/Linux, 10 months ago)

Definitely works ok in 1.8.7 with same version. Failure confirmed in CentOS 5.3.

All the failing URLs are https. I can connect to the same URLs using Net::HTTP alone, so it's something about how mechanize is setting up the connection.

mechanize (0.9.3) is Failing
for Kenneth Miller (Mac OSX, 10 months ago)

Getting a variety of errors. EOFError, ECONNRESET, execution expired. May be due to 0.6.10 -> 0.9.3 upgrade, but definitely not dropping in seamlessly.

mechanize (0.9.3) is Failing
for haarts (Mac OSX, about 1 year ago)

Can't handle SSL redirects anymore. Errors vary from 'Rescuing EOF error' to 'wrong status line'.

mechanize (0.9.3) is Working
for Karl Lindström (Windows, about 1 year ago)

Works fine with Ruby 1.9.1-p129 mingw on Windows XP x86.

mechanize (0.9.2) is Working
for David Beckwith (GNU/Linux, about 1 year ago)

I take that back it seems to be working now.

mechanize (0.9.2) is Failing
for David Beckwith (GNU/Linux, about 1 year ago)

Uri's are not getting parsed properly.

Mechanize 0.9.2 is using the obsolete $KCODE in /mechanize-0.9.2/lib/www/mechanize/chain/uri-resolver.rb.

mechanize (0.9.2) is Failing
for Thomas Preymesser (GNU/Linux, about 1 year ago)

mechanize (0.9.2) is Working
for Anton Maminov (GNU/Linux, about 1 year ago)

works good on Debian Experimental with Ruby 1.9.1

mechanize (0.9.0) is Failing
for Thomas Preymesser (GNU/Linux, about 1 year ago)

encoding problems at runtime

mechanize is Working
for Konstantin Haase (GNU/Linux, about 1 year ago)

Gem works.

Add your comment




Yes No