hulihanapplications / fletcher

A cross-website product information fetcher for ruby.
http://www.hulihanapplications.com
MIT License
53 stars 12 forks source link

adding user_agent as parameter to the data.read method #14

Closed lumir closed 10 years ago

lumir commented 10 years ago

Hi, i did this small change to use a custom user_agent in order to avoid the robot detection after a lot of requests

dhulihan commented 10 years ago

Thanks, I'll merge. The call to blank? breaks spec (and won't work in non-rails implementations), so I'm going to switch to nil?.