Permalink
Browse files

Removing RightBooks.in

They emailed me to remove it, as it was causing too much traffic.
  • Loading branch information...
swaroopch committed Jan 12, 2012
1 parent 32838d3 commit 2f408970abf93443693ad60d347972171e25d0c1
Showing with 0 additions and 11 deletions.
  1. +0 −11 app/models/bookprice.rb
View
@@ -289,17 +289,6 @@ def search_kindle(isbn)
#end
#end
- def search_rightbooks(isbn)
- url = "http://www.rightbooks.in/Product_search.asp?cid=1&fc=5&fsr=#{isbn}&pt=2"
- page = self.fetch_page(url)
- unless page.nil?
- text = page.search("span.footer_author1").text
- { :price => find_price_at_end(text), :url => url }
- else
- { :price => NOT_AVAILABLE, :url => url }
- end
- end
-
end
end

1 comment on commit 2f40897

@antani

This comment has been minimized.

Show comment Hide comment
@antani

antani Jan 12, 2012

ROFL. I wish cheapr.me had such requests.

antani commented on 2f40897 Jan 12, 2012

ROFL. I wish cheapr.me had such requests.

Please sign in to comment.