Browse files

result won't need to fetch a URL anymore

  • Loading branch information...
1 parent e019782 commit 5d9f87ce77ffb190b6086e0f9b205093a64e86f9 @dstnbrkr dstnbrkr committed with May 4, 2010
Showing with 1 addition and 7 deletions.
  1. +1 −7 lib/result.rb
View
8 lib/result.rb
@@ -1,6 +1,5 @@
class ItunesLinkMaker
class Result
- URL_ROOT = "http://ax.phobos.apple.com.edgesuite.net"
attr_reader :name, :type
@@ -24,11 +23,6 @@ def eql?(result)
def hash
"#{@name}#{@type}#{@display_url}".hash
end
-
- private
- def get_url
- doc = Hpricot(open(@display_url))
- (doc/'textarea a').first['href']
- end
+
end
end

0 comments on commit 5d9f87c

Please sign in to comment.