Skip to content

kna/open-uri-cached

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenURI with caching

Carelessly make OpenURI requests without getting hate mail.

Usage

Require the library

require 'open-uri/cached'
open('http://www.someone-that-hates-being-scraped.com').read

Configuring

OpenURI::Cache.cache_path = '/tmp/open-uri'

About

Disk caching for open-uri

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published