Skip to content

Instantly share code, notes, and snippets.

Created July 15, 2017 06:53
What would you like to do?
easier way to grab the page title, works for gizmodo
$ echo '' |\
ruby -rnokogiri -ropen-uri -ne 'puts Nokogiri::HTML(open($_.chomp)).search("//title").text'
Scientists Push Back Against Booming Genetic Pseudoscience Market
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment