After you made your modifications, what is on line 88?
rnrse = CGI.escape(newres.match(/’_rnr_se’: ‘([^’]+)’/)[1])
I also had added require ‘jcode’ if RUBY_VERSION < ‘1.9’ for the other fix.
That means it’s not finding _rnr_se in the returned text,
which probably means that the authentication process is failing at some
point. That would take more debugging than I can offer on this one, but
you might start by dissecting the various calls and spitting the results
out to console to see if you’re getting expected responses.
Hehehe. I copied the fixed line from here. Didn’t work, as shown. I ran rdebug with it. Says something about invalid multibyte character. Turns out, the single quotes weren’t regular old single quotes, they were smart quotes. “’” instead of “’”. Works now! Thanks.