hey guys! please, give a piece of advice!

345 views
Skip to first unread message

Юра Куликов

unread,
May 24, 2012, 5:15:04 AM5/24/12
to httpar...@googlegroups.com
I have a problem with making a GET request to one website.
let it be blah-blah.com
so when I request MyClass.get(blah-blah.com) response is full and browser-identical
but request to some particular object (for example blah-blah.com/level/1/pants/1) returns some anti-bot response:

"out robot protection system decided that robot acts on your behalf and limited access to our site"
I have no malicious intentions to that website, but still how can I pretend to be a browser from httparty?
thank you in advance!

John Nunemaker

unread,
May 26, 2012, 3:44:04 PM5/26/12
to httpar...@googlegroups.com
I would use mechanize or something like that to pretend to be a browser. HTTParty is more for APIs.
--
You received this message because you are subscribed to the Google Groups "HTTParty Gem" group.
To view this discussion on the web visit https://groups.google.com/d/msg/httparty-gem/-/1BgS-j0w0YkJ.
To post to this group, send email to httpar...@googlegroups.com.
To unsubscribe from this group, send email to httparty-gem...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/httparty-gem?hl=en.

Reply all
Reply to author
Forward
0 new messages