search for: set_proxy

Displaying 3 results from an estimated 3 matches for "set_proxy".

Did you mean: set_prop
2011 Mar 27
2
LinkedIn still not working?
To clarify the issue I posted earlier: I am on OS X 10.6.7. Trying to use Mechanize to log in to LinkedIn. As others have posted about in the past, when I submit the form it kicks me back to the LinkedIn landing page, and does not log me in. I read the earlier discussion of the issue that mentioned how cookie values were being improperly dequoted when stored. But I thought that issue was fixed.
2006 Sep 18
2
BUG: Possible issue with escaped hrefs
...nd start.html --- ''link with spaces.html'' This page is after the link. --- end ''link with spaces.html'' --- test.rb require ''rubygems'' require ''mechanize'' agent = WWW::Mechanize.new # Un-comment to debug using Charles # agent.set_proxy(''localhost'', ''8888'') first = agent.get(''http://localhost/~schapht/link_test/start.html'') second = agent.click(first.links.first) puts second.body --- end test.rb Expected: This page is after the link. Actual: /opt/local/lib/ruby/1.8/net/http.rb...
2007 May 20
0
Urgent :: File Object problem
...echanize'' =begin * realtor_scraper.rb * Scrapes email addresses from the realtor.org find a member section * See workflow section at the end of script for detail * (c)2007 onlinesigns.com =end #Set up the agent agent = WWW::Mechanize.new #Ignore these line if not using a proxy #agent.set_proxy(''192.168.85.2'', ''80'') #agent.read_timeout=10000 #agent.user_agent_alias = ''Mac Safari'' page = agent.get("http://www.realtor.org/nrdslogi.nsf/LoginUserInfo") login_form = page.forms.with.name("__TraceLogin").first if login_fo...