Sha256: 7f99f56534ad00ca58d6386b9c206d9544c31cd5a051626c5ecd5209fbc4a0d9
Contents?: true
Size: 376 Bytes
Versions: 3
Compression:
Stored size: 376 Bytes
Contents
content_mapping do url_pattern /^http:\/\/www\.pretty\.url/ content_at '//div[@id="failing_content"]' content_at '//div[@id="itext_content"]' end content_mapping do url_pattern /^http:\/\/www\.skipped\.url/ end sanitize_tags { {:elements => ['p','br', 'b', 'em', 'i', 'strong', 'u', 'a', 'h1', 'h2', 'h3', 'li', 'ol', 'ul'], :attributes => { 'a' => ['href'] }} }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solarsearch-0.0.10 | test/content_scrapper.rb |
solarsearch-0.0.9 | test/content_scrapper.rb |
solarsearch-0.0.6 | test/content_scrapper.rb |