Skip to content

Commit 60f6b3d

Browse files
octopusinvitrotmtmtmtm
authored andcommitted
Add the archiver to the scraper
1 parent b36a4dd commit 60f6b3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scraper.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
require 'scraperwiki'
66
require 'nokogiri'
7-
require 'open-uri'
8-
9-
require 'open-uri/cached'
10-
OpenURI::Cache.cache_path = '.cache'
7+
#require 'open-uri'
8+
#require 'open-uri/cached'
9+
#OpenURI::Cache.cache_path = '.cache'
10+
require 'scraped_page_archive/open-uri'
1111

1212
def noko_for(url)
1313
Nokogiri::HTML(open(url).read)

0 commit comments

Comments
 (0)