Last active
April 28, 2018 23:37
-
-
Save privatezero/c69ca0076507343b6b0dda4ea0457d7a to your computer and use it in GitHub Desktop.
Nokogiri sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'nokogiri' | |
require 'open-uri' | |
test = Nokogiri::XML(open("https://raw.githubusercontent.com/amiaopensource/amazingmets/master/digitized_video_mets2.xml")) | |
test.xpath("////Codec").each {|line| puts line.text.strip} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment