Displaying 20 results from an estimated 17414 matches for "mechan".
Did you mean:
meechan
2012 Aug 07
2
Error using ddply inside user-defined function
...0, 413344, 573347, 870307,
552681 , 0, 0 , 163831 , 400161 , 353000, 358322 , 489969, 147379,
1022769)
FBCTS.REC.TOT <- c(0 , 0, 1638818 ,297119 , 299436 ,414164 , 515735,
529001 , 0, 0 , 427341 , 625893 ,437854 , 407091, 425119 , 8663,
0)
MECH.NAME <- c("Mechanism A","Mechanism A","Mechanism A","Mechanism
A","Mechanism A","Mechanism A","Mechanism A","Mechanism A", "Mechanism
B","Mechanism B","Mechanism B","Mechanism B","Mechanism B"...
2012 Feb 16
3
Mechanize::ResponseCodeError: 500
> Excuse me if my issue is a little bit application-specific. I need
> Mechanize to submit bunch of data from our server to an online reservation
> system. The url is https://secure.mdausa.org/donate/
> It works in my browser however using mechanize following error appears:
>
> /Library/Ruby/Gems/1.8/gems/mechanize-2.0.1/lib/mechanize/http/agent.rb:241:in
> `f...
2010 Jun 03
3
issue submitting a form
Hi. Recently I started rebuilding my old Mechanize script, which I
used to automatically log in to a certain site and retrieve files from
it. Old version worked great, however, when I did the update it
started complaining. Here''s the log of the error:
/Users/lukastolyarov/.gem/ruby/1.8/gems/mechanize-1.0.0/lib/mechanize/form/field.rb...
2010 Jan 08
7
input form fields not in the #<WWW::Mechanize::Form array
Hi
This may be a dumb question with an obvious answer.
It would seem that an input form field identified with an ''id'' qualifier
and not with a ''name'' qualifier is not recognised by Mechanize - at
least it isn''t in the form field list.
Is there any way of getting at these elements or am I, as I suspect,
fresh out of luck. But you never know ...
Appreciate any help.
Regards
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://r...
2009 Jun 25
2
Bad Form?
Hi,
This is my first post, I wanted to ask a quick question about "Bad Form" --
rather, am I doing something with Mechanise I shouldn''t be doing?
Here''s the long and short of it - I am using Mechanize with Cucumber and
RSpec to test a *ahem* Perl XML web service.. talk about technology soup,
but I have it working quite well.
I have an example project on GitHub that actually has a contrived Sinatra...
2007 Mar 25
5
mechanize 0.6.6 Released
mechanize version 0.6.6 has been released!
http://mechanize.rubyforge.org/
The Mechanize library is used for automating interaction with websites.
Mechanize automatically stores and sends cookies, follows redirects,
can follow links, and submit forms. Form fields can be populated and
submitted. Mec...
2010 Sep 01
4
NoMethodError: undefined method `force_encoding' for "Conten
Hi everyone!
Im trying to install mechanizer from
http://github.com/tenderlove/mechanize.
I`ve clone the project into /tmp folder. When I do rake inside the
folder /tmp/mechanizer it gives me this error:
mac159180:mechanize renatosis$ rake
(in /private/tmp/mechanize)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w...
2007 Feb 07
15
https with certificates
...rying to connect to devices that don''t have valid certificates,
and in this case, I don''t care if they are or not.
So when I use my browser to ge to the site, firefox asks me to allow
the certificate, then one other question, then I get the authentication
screen.
How do I get mechanize to just say OK to the first two pop up screens?
Mike B.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
2009 Mar 11
0
problem scrapping ATnT site (Matt White)
Try to use firebug to assist you finding these changes. I never used AT&T
website, but you may need to login and find the download url using firebug
as I did:
http://zenmachine.wordpress.com/2007/11/11/scraping-with-firebug-and-wwwmechanize/
regards,
gm
On Tue, Mar 10, 2009 at 4:12 PM, <mechanize-users-request at rubyforge.org>wrote:
> Send Mechanize-users mailing list submissions to
> mechanize-users at rubyforge.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://rubyfo...
2008 Jan 16
3
settings headers in mechanize
hi,
a potential mechanize user here. i''ve looked at the API but it''s not
clear what capacity there is to arbitrarily set the headers - does
mechanize allow for this?
mechanize is clearly great for web browsing, but i also need to
construct get and post requests from scratch. i''ve looked at
ne...
2010 Oct 06
0
can you mechanize.get('http://www.sephora.com/browse/product.jhtml?id=P230234') without error?
hey guys,
i cant seem to mechanize.get(''
http://www.sephora.com/browse/product.jhtml?id=P230234''), it errors out as:
/usr/local/lib/ruby/gems/1.9.1/gems/mechanize-0.9.2/lib/www/mechanize/chain/response_header_handler.rb:32:in
`handle'': invalid byte sequence in UTF-8 (ArgumentError)
from
/usr/local/lib/...
2012 Jun 15
1
Google Voice / Jabber auth problem
...om at gmail.com"
id="C28AAAAAAAC2E0" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams"
xmlns="jabber:client"><stream:features><starttlsxmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls>
<mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features>
JABBER: accountone OUTGOING: <starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
JABBER...
2012 Jul 23
2
Mechanize::Agent#post_connect_hook response != Mechanize#parse response
I''m working through an idea for a db-backed cache for Mechanize#get().
The idea is to use a Mechanize::Agent#post_connect_hook to cached any
fetch data, and create a subclass of Mechanize::Agent#get() that
checks the cache before calling super. I want to store the un-parsed
(raw) page in the db, and call Mechanize#parse when there''s a cache
hit, s...
2010 Jun 10
2
submit button param is duplicated when a form is submitted a second time
Hello,
Below I''ve pasted a simple example to reproduce what I say in the
subject. I wonder...
Is it a bug? Is there any workaround?
Thanks!
require ''rubygems''
require ''mechanize''
agent = Mechanize.new
page = agent.get(''http://google.com/'')
google_form = page.form(''f'')
google_form.q = ''ruby mechanize''
page = agent.submit(google_form, google_form.buttons.last)
pp google_form.request_data
page = agent.submit(g...
2010 Oct 20
2
Mechanize::ResponseCodeError: 500
Also, excuse me if my issue is a little bit application-specific. I need
Mechanize to submit bunch of data from our server to an online reservation
system. The url ishttp://hajres.iranair.com/haj/request.php"
It works in my browser however, using mechanize following error appears:
>> agent.get("http://hajres.iranair.com/haj/request.php")
Net::HTTP::Get: /...
2010 Jan 25
4
Does Amazon.com blocks scraping?
...n.com closed my connection, and redirects me to another place.
If anyone succeeded with Amazon.com, circunventing this protection, please
send me some info
Regards,
Felipe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/mechanize-users/attachments/20100125/8535fc9d/attachment.html>
2008 Nov 23
6
v1.1.7 released
http://dovecot.org/releases/1.1/dovecot-1.1.7.tar.gz
http://dovecot.org/releases/1.1/dovecot-1.1.7.tar.gz.sig
I should have released this earlier since v1.1.6 had that annoying
startup problem, but surprisingly few people complained about it so I
kind of forgot about it then.
BTW. v1.2 progresses nicely. Now that shared mailboxes are finally fully
supported, there aren't any widely used IMAP
2008 Nov 23
6
v1.1.7 released
http://dovecot.org/releases/1.1/dovecot-1.1.7.tar.gz
http://dovecot.org/releases/1.1/dovecot-1.1.7.tar.gz.sig
I should have released this earlier since v1.1.6 had that annoying
startup problem, but surprisingly few people complained about it so I
kind of forgot about it then.
BTW. v1.2 progresses nicely. Now that shared mailboxes are finally fully
supported, there aren't any widely used IMAP
2011 Jan 18
2
how to get captcha image with mechanize ?
Hey, how to get captcha image with mechanize ? the image is not a
static picture, it''s a stream, a text-model.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/mechanize-users/attachments/20110118/bf9a58ff/attachment.html>
2012 Aug 02
2
Handling HTTP 500 errors
Hey guys,
How do you handle HTTP 500 errors with Mechanize?
After researching the web I thought something like this would work:
begin
Mechanize.new.get(url_which_returns_500)
rescue Net::HTTPInternalServerError
puts "Life is awesome. Let''s move on"
end
Anyways, the code in the rescue block will never be executed.
Can...