Skip to content

Commit

Permalink
Turn on archiving
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Jan 8, 2017
1 parent e30a43d commit a096b9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper.rb
Expand Up @@ -6,8 +6,9 @@
require 'scraped'
require 'scraperwiki'

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)
Expand Down

0 comments on commit a096b9f

Please sign in to comment.