postmodern / spidr

A versatile Ruby web spidering library that can spider a site, multiple domains, certain links or infinitely. Spidr is designed to be fast and easy to use.
MIT License
800 stars 109 forks source link

Add support for img/@src #67

Closed lasssim closed 6 years ago

lasssim commented 6 years ago

I'm not sure if this is useful for this lib in general. For our use-case we need to find all img/@src links as well.

postmodern commented 6 years ago

Images are not really links in the proper sense. I would accept an imgs helper methods in spidr/page/html.rb that extracted all img/@src attributes.