Skip to content

Instantly share code, notes, and snippets.

@xcobar

xcobar/href.rb Secret

Last active April 26, 2020 11:08
Show Gist options
  • Save xcobar/0842c3c8fc31d3dfa3794b75b7a58e14 to your computer and use it in GitHub Desktop.
Save xcobar/0842c3c8fc31d3dfa3794b75b7a58e14 to your computer and use it in GitHub Desktop.
doc.css('header.info-header').each do |x|
puts x.at_css('h4.title a')
end
# <a href="/entertainment/best-old-hollywood-classic-films-to-stream-right-now">Best old Hollywood films to stream right now</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment