Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Commit

Permalink
Removing RightBooks.in
Browse files Browse the repository at this point in the history
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 2f40897
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/models/bookprice.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -289,17 +289,6 @@ def search_kindle(isbn)
#end #end
#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


end end
Expand Down

1 comment on commit 2f40897

@antani
Copy link

@antani antani commented on 2f40897 Jan 12, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ROFL. I wish cheapr.me had such requests.

Please sign in to comment.