Skip to content

Commit

Permalink
Revert "Explicitly turn the response into a Nokogiri object"
Browse files Browse the repository at this point in the history
This reverts commit eab39fe.
  • Loading branch information
auxesis committed Oct 27, 2016
1 parent eb01bce commit f1dd2c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scraper.rb
Expand Up @@ -16,8 +16,7 @@ def scrub(text)

def get(url)
@agent ||= Mechanize.new
response = @agent.get(url)
Nokogiri::HTML(response)
@agent.get(url)
end

# This attemps to solve a complicated problem where the information is spread
Expand Down

0 comments on commit f1dd2c4

Please sign in to comment.