Method: Html2rss::AutoSource::Scraper::SemanticHtml::Image.from_img
- Defined in:
- lib/html2rss/auto_source/scraper/semantic_html/image.rb
.from_img(article_tag) ⇒ Object
18 19 20 |
# File 'lib/html2rss/auto_source/scraper/semantic_html/image.rb', line 18 def self.from_img(article_tag) article_tag.at_css('img[src]:not([src^="data"])')&.[]('src') end |