I need to pull out a particular line that is in some inline javascript on a page using nokogiri. How开发者_运维知识库 would I go about doing this?
doc.css('script').each do |script|
puts script.content
end
I need to pull out a particular line that is in some inline javascript on a page using nokogiri. How开发者_运维知识库 would I go about doing this?
doc.css('script').each do |script|
puts script.content
end
精彩评论