You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am need remove multiples nodes
with class css
.media
.ads
.cite-content
How do I remove a nodes css?:
class ListCrawler
include Wombat::Crawler
base_url "https://rpp.pe"
path "/politica/actualidad/ministerio-publico-las-discrepancias-entre-pablo-sanchez-y-pedro-chavarry-noticia-1142342"
explore css: '#article-body' do |e|
e remove: '.media'
e remove: '.ads'
e remove: '.cite-content'
end
end
pp ListCrawler.new.crawl
#ERRORR!!
Thanks for the work you do with this gem
Hello, I am need remove multiples nodes
with class css
How do I remove a nodes css?:
With standalone gem Mechanize works
Someone who is an expert can help me?
Thanks!
The text was updated successfully, but these errors were encountered: