Permalink
Browse files

Use scraped_page_archive

  • Loading branch information...
tmtmtmtm committed Sep 11, 2016
1 parent fcddd70 commit ca2370f424d7a141a7c39b5f4bed948df66b0bf4
Showing with 3 additions and 2 deletions.
  1. +3 −2 scraper.rb
View
@@ -7,8 +7,9 @@
require 'cgi'
require 'pry'
require 'open-uri/cached'
OpenURI::Cache.cache_path = '.cache'
# require 'open-uri/cached'
# OpenURI::Cache.cache_path = '.cache'
require 'scraped_page_archive/open-uri'
def noko_for(url)
Nokogiri::HTML(open(url).read)

0 comments on commit ca2370f

Please sign in to comment.