lib/download_tv/grabbers/torrentapi.rb in download_tv-2.6.6 vs lib/download_tv/grabbers/torrentapi.rb in download_tv-2.6.7
- old
+ new
@@ -33,10 +33,10 @@
##
# Makes a get request tp the given url.
# Returns the JSON response parsed into a hash
def request_and_parse(url)
- page = @agent.get(url).content
+ page = agent.get(url).content
JSON.parse(page)
end
##
# Connects to Torrentapi.org and requests a token, returning it