Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Download and embed images in html using base64 data encoding
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.gitignore
Manifest
README.markdown
Rakefile

README.markdown

Dependencies

  • Hpricot
  • Typhoeus

Install

gem install embed_html

Usage

eurl <input-url> <output-file>

Example:

eurl "http://en.wikipedia.org/wiki/Wiki" wiki.html

Output:

I, [2010-05-20T15:56:58.315769 #26393] INFO -- : downloading url: http://en.wikipedia.org/wiki/Wiki

I, [2010-05-20T15:57:02.033068 #26393] INFO -- : done

The file wiki.html then contains the specified page, with all of the images embeded

Something went wrong with that request. Please try again.